【发布时间】:2021-06-08 18:10:14
【问题描述】:
我想使用 Here Map 和 javascript 检查标记是否在当前视图范围内。
我正在寻找与 map.getBounds().contains(marker.getPosition()) 等效的东西,但在
这里地图 API
【问题讨论】:
-
感谢您的帮助,我想将标记的经纬度与当前视图边界的经纬度进行比较。我使用了
marker.getGeometry()和map.getboundingBox但它给了我TypeError: marker.getBoundingBox is not a function我怎样才能得到地图的角落
标签: javascript