Google Earth Engine(GEE)——利用updateMask去除云雪和 map.setControlVisibility
2023-09-11 14:15:11 时间
问题:
正在努力制作一个并排的地图查看器。但是,我希望绘图工具在左侧地图上可见。但是,尽管做了 map.setControlVisibility({drawingToolsControl: true}),我似乎无法让它们出现。即使我这样做 (maps.setControlVisibility({all: true}) 它也不会出现。
修改的代码:
//原有代码
maps[0].setControlVisibility({drawingToolsControl: true});
//改变后代码
maps[0].drawingTools().setLinked(true)
函数:
Map.setControlVisibility(all, layerList, zoomControl, scaleControl, mapTypeControl, fullscreenControl, drawingToolsControl)
Sets the visibility of the controls on the map.
Returns this ui.Map.
设置地图上的控件的可见性。
返回这个ui.Map。
Arguments:
all (Boolean, optional):
Whether to show all controls. False hides all controls; true shows all controls. Overridden by individually set parameters. Note that set
相关文章
- Google Colab 基本操作
- Google Earth Engine APP(GEE)——再地图上加载各种选择器
- Google Earth Engine(GEE)——过滤矢量集合FeatureCollection并进行属性的设定
- Google Earth Engine(GEE)——MODIS/MOD09A1影像的去云
- Google Earth Engine——全球电厂数据集是一个全面的、开源的世界各地电厂的数据库。包含电厂容量、发电量、所有权和燃料类型等信息,该数据库包括来自164个国家的约28,500家电厂
- Google Earth Engine(GEE)——利用map遍历实现影像的逐年筛选
- Google Earth Engine(GEE)——Map.style()让你把光标编程十字线
- Google Earth Engine(GEE)——在Map中添加标签ui.Label和加载影像
- Google Earth Engine(GEE)——JavaScript和GEE中字符串的区别和数据类型
- Google Earth Engine——打印 PNG 图表
- Google Earth Engine(GEE)——sentinel-2数据 filter 和 map()映射函数的应用
- Google Earth Engine(GEE)——栅格图像图表制作!ui.Chart.image.byRegion
- Google Earth Engine(GEE)——Landsat_timeSeries_map(北京市为例)
- Google Earth Engine(GEE)——Error: Projection: The CRS of a map projection could not be parsed.(坐标转换错)
- Google Earth Engine——世界人口数据集描述了2010年、2015年和其他年份居住在每个网格单元的估计人数。
- Google Earth Engine——1980-2021Daymet V4提供北美大陆、夏威夷和波多黎各的每日天气参数的网格化估计(波多黎各的数据从1950年开始提供)数据集
- Google Earth Engine ——Terra MODIS植被覆盖度(VCF)产品是全球地表植被估计的亚像素级250m分辨率产品
- Google Earth Engine ——ee.List.sequence函数的使用
- 获取List<Map<String, Object>中Map的属性值列表,获取所有map对象的某个属性列表
- win7下Google谷歌浏览器上传下载卡死无响应
- Google SRE 定义了四个需要监控 延迟(Latency),流量(Traffic),错误(Errors)和饱和度(Saturation)
- Google搜索解析
- Google wave 开源代码更新 wave-libraries-2010-11-17.zip 可以下载