openlayers 坐标转换

var pos = OpenLayers.Layer.SphericalMercator.forwardMercator(position.lng(), position.lat());

this.map.panTo(new OpenLayers.LonLat(pos.lon, pos.lat));

转载自:https://blog.csdn.net/pangfeng134300/article/details/7890009

You may also like...