public/map/index.html
@@ -51,9 +51,11 @@ _framework.onSiderContainerShow(); _framework.resize(); _AppEvent = AppEvent; //获取设备id window.clientID = locationObj.clientID; if (locationObj != null){ //获取设备id window.clientID = locationObj.clientID; } _AppEvent.addAppEventListener("mapLoad", function(map){ if (locationObj && locationObj != null) { map.centerAndZoom(new esri.geometry.Point(locationObj.x,locationObj.y, new esri.SpatialReference({ wkid: 4326 })), 16);