Questions tagged «mapcontrol»

4
在OpenLayers3中缺少LayerSwitcher?
我想知道LayerSwitcherOpenLayers 3中是否有控件? 我读到ol3是完整的重写。但是我似乎无法LayerSwitcher从http://openlayers.org/en/latest/apidoc/ol.control.html找到与之等效的东西。我看不到没有此控件如何打开和关闭图层。是否已LayerSwitcher重命名为其他名称,丢失或文档不完整? 如果OpenLayers3没有LayerSwitcher,没有人知道实现自定义控件的示例,例如旧的LayerSwitcher吗?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.