简体   繁体   English

OpenLayers3控制面板

[英]OpenLayers3 control panel

Does anybody know what's the OpenLayers3 version of OpenLayers.Control.Panel? 有人知道OpenLayers.Control.Panel的OpenLayers3版本是什么吗? Couldn't find anything to group the contols (zoom in, zoom out, full screen, etc.) in a "navigation bar". 在“导航栏”中找不到任何可将控制分组(放大,缩小,全屏等)的内容。

Many thanks 非常感谢

There is no OpenLayers.Control.Panel. 没有OpenLayers.Control.Panel。 It's the application code to manage this part. 这是管理此部分的应用程序代码。

You have to make your own controls using HTML, JavaScript and CSS. 您必须使用HTML,JavaScript和CSS来制作自己的控件。 See this official example to understand how to do it http://openlayers.org/en/v3.0.0/examples/custom-controls.html 请参阅此官方示例以了解如何执行此操作http://openlayers.org/en/v3.0.0/examples/custom-controls.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM