openlayers 缩放级别图像
当您查看缩放级别(也许在 12. 级别之后我们没有图层)时,有什么方法可以添加透明徽标,其中不包含底层图像?
我正在使用openlayers,arcgis cahce,
谢谢您的回复
is there any way adding a transparent logo when you look at a zoom level(maybe after 12. level we dont have layer) which has not baselayer image included in ?
i am using openlayers , arcgis cahce
thank you for your reply
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你好
我找到了 openlayers 的解决方案。
将帮助您解决应用程序上没有底层图像的问题...
hi
i have found a solutions hand of openlayers.
will help you with you not have baselayer image on your app...
我不太确定了解您的需求,但是:
如果您想在一定的缩放后添加徽标,您可以创建一个仅在给定缩放中显示且其中嵌入图像的图层。一些 WMS 层应该可以解决这个问题。
如果您这样做是因为 12 级之后没有任何内容可显示,那么您应该将缩放限制在一定程度。
I'm not really sure to understand your needs but:
If you're looking to add a logo after a certain zoom, you could create a layer that only appears from a given zoom with the embedded image in it. Some WMS layer should do the trick.
If you do that because you have nothing to show after level 12, then you should just limit your zoom to a certain amount.