2025年VE接口-获取经纬度

VE接口-获取经纬度VEMap PanToLatLong Method Pans the map to a specific latitude and longitude 将地图映射到特定的纬度和经度 VELatLong Class 包含全球单点的纬度和经度 VEMap onclick Event properties latLong 点击位置坐标的 LatLong function

大家好,我是讯享网,很高兴认识大家。

VEMap.PanToLatLong Method
Pans the map to a specific latitude and longitude.
将地图映射到特定的纬度和经度


VELatLong Class
包含全球单点的纬度和经度。


VEMap.onclick Event
properties:latLong
点击位置坐标的LatLong


讯享网

 function updatePosition(e) { if(e.eventName == "onclick") { var x = e.mapX; var y = e.mapY; var origin = map.PixelToLatLong(new VEPixel(x,y)); } else { var center = map.GetCenter(); window.external.mapPositionChange(center.Latitude, center.Longitude); } } 

讯享网

小讯
上一篇 2025-01-11 11:12
下一篇 2025-01-25 14:29

相关推荐

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/102781.html