MAPBOX JAVASCRIPT标记,具有高程/高度的JavaScript
默认情况下,MAPBOX标记设置为地面高度。有什么办法可以提升其位置吗?它代表某些无人机位置,在地图上升高,对应于它们各自的高度。
谢谢!
By default, Mapbox markers are set to ground altitude. Is there some way to elevate their position? It is to represent some drones position, elevated over the map, corresponding to their respective altitudes.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我以前是在使用
css2drenderer
上进行高空的工具提示。您可以看到在此处发行在mapbox github上发行了解释。-images.githubusercontent.com/38470852/85410720-B9B30E80-B567-11E-9561-9561-7B61448DE593.gif gif gif“ alt =” 也许您也很感兴趣, trixbox 是mapbox的插件,用于允许3D对象(也可以标记或标记为标签或标记)表示。仅供参考,我正在维护这个OSS项目,并且我个人正在将其用于其他数字双胞胎的无人机场景。
I made while ago a tooltip on altitude using

CSS2dRenderer
. You can see the issue here at mapbox GitHub with the explanation.If what you’re looking is to represent spatially a drone, this maybe of your interest too, threebox is a plug-in for mapbox to allow 3D objects (also labels or markers) representation. Just FYI, I’m maintaining this OSS project and I’m personally using it for drones scenarios among other digital twins.