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);
}
}