在屏幕中心点获取地图纬度/经度
Does anyone know how to take map coordinates from centre point of the screen?
There are several different answers but they're all for Google Maps -
Flutter: how to get location coordinates of point in the center of screen
I am using HERE maps.
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如用户指南中所示,只需获取通过调用:
在 HERE 的术语中,目标指定相机所观察的点。默认情况下,它会查看地图视图的中心,除非用主点更改了它。
当以编程方式平移或移动地图时,相机仍会查看地图视图的中心,因此每次都会更新值。
As indicated in the user guide simply get it by calling:
In HERE's terminology the target specifies the point at which the camera looks. By default, it's looking at the center of the map view, unless it was changed with a principal point.
When the map is panned or moved programmatically, the camera still looks at the center of the map view, so the values are updated each time.