|
@@ -449,7 +449,6 @@ export const enter = (dom, mapDom, isLocal, lonlat) => {
|
|
|
map.switchStyle(type/* map.style == 'satellite' ? 'standard' : 'satellite' */)
|
|
|
},
|
|
|
enableMap(mapArea, latlng){
|
|
|
- latlng = [22.36374290, 113.601256215505]
|
|
|
if(!viewer.mapViewer){
|
|
|
proj4.defs("LOCAL", "+proj=tmerc +ellps=WGS84 +lon_0=" + latlng[1].toPrecision(15) + " +lat_0=" + latlng[0].toPrecision(15)); //高德坐标系
|
|
|
proj4.defs("LOCAL_MAP", "+proj=tmerc +ellps=WGS84 +lon_0=" + latlng[1].toPrecision(15) + " +lat_0=" + latlng[0].toPrecision(15)); //地图和本地一样
|