GEE app:在地图上构建一个可以查看局部的小窗
目录
简介
函数
ee.Geometry.MultiLineString(coords, proj, geodesic, maxError)
Arguments:
Returns: Geometry.MultiLineString
getBounds(asGeoJSON)
Arguments:
Returns: GeoJSONGeometry|List|String
setControlVisibility(all, layerList, zoomControl, scaleControl, mapTypeControl, fullscreenControl, drawingToolsControl)
Arguments:
Returns: ui.Map
代码
结果
简介
GEE app:在地图上构建一个可以查看局部的小窗
这里比较难得的地方在于如何确定我们点击地图后这个点击后的点的周边的坐标
函数
ee.Geometry.MultiLineString(coords, proj, geodesic, maxError)
Constructs an ee.Geometry describing a MultiLineString.
For convenience, varargs may be used when all arguments are numbers. This allows creating geodesic EPSG:4326 MultiLineStrings with a single LineString, given an even number of arguments, e.g. ee.Geometry.MultiLineString(aLng, aLat, bLng, bLat, ...).
Arguments:
coords (List<Geometry>|List<List<List<Number>&