CloudMade 标记叠加 - Z 索引可以控制吗?
CloudMade API 是否能够控制标记叠加(egicons)的 z 顺序或 z 索引?
我之前在 Google 地图中使用过此功能,使某些更重要的图标绘制在其他不太重要的图标的顶部(特别是在某些缩放级别中,它们可能会聚集在一起)。
Google 地图 GMarker 有 zIndexProcess 选项来处理这个问题。有谁知道CloudMade有这个功能吗?我查遍了 API 文档,但一无所获。或者这里是否有人有一种特殊的方法来确保一个标记(或一组标记)将绘制在另一个标记之上的图层上?
Does the CloudMade API have the ability to control the z-order or z-index of the marker overlays (e.g.icons)?
I have used this before in Google Maps to make certain icons with more importance draw over the top of other icons with lesser importance (especially in some zoom levels where they may bunch together).
The Google Maps GMarker has the zIndexProcess option to handle this. Does anyone know if CloudMade has this facility? I have scoured the API docs and found nothing. Or does anyone here perhaps have an ad-hoc method that ensures one marker (or group of makers) will be drawn on a layer above the other?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目前 CloudMade 不提供此功能,但我会将其添加到我们的功能请求列表中。
Currently this feature is not available at CloudMade, but I'll add it to our Feature Requests list..