/** * [systemConfig description] * @type {Object} * auth yangyang * version 0.0.1 */ var systemConfig = { // 经度偏移矫正值 -- WGS84转上海2000 lonCorrectParams: 0.192, // 纬度偏移校正值 -- WGS84转上海2000 latCorrectParams: -0.00018, assetsUrl: "http://localhost:2013", mapViewer: { center: [31.14785322514787, 121.50195320451814], zoom: 1, }, // 暂时无法使用 // token: "65463DEE-620A-0ED5-2385-17ECD07CD351", //公共地图资源token // mapService: "http://121.43.55.7:10011/proxy/", //地图服务, blueBlackMap: { crs: "", // 调用了测绘院底图 url: "http://10.242.181.28:8080/OneMapServer/rest/services/shmap_anhei/MapServer?token=xvdp5nmSa6UoSQf20x7sk4l2DDQNicrUHaVrvm40k9cf-Iy8Z_rHGAMty2ZFIqH_", // url:"http://aimap.pudong.sh:5236/maps/rest/services/darkmap-f/proxy", // minZoom: 1, // maxZoom: 12, }, // 遥感影像图的相关配置项 imageryLayer: { crs: "", url: "http://aimap.pudong.sh:5236/zjmap/reproduction-service/maps/rest/services/sat-2022s1/proxy?AccessKey=lUaEMxqqhZKLSImGuP/Ergx47orYVyIqHVgxfyGpIurKAy9kdq5uU1cWuTuIXeOM", resolutions: [ 132.2919312505292, 52.91677250021167, 26.458386250105836, 13.229193125052918, 5.291677250021167, 2.6458386250105836, 1.3229193125052918, 0.5291677250021167, 0.26458386250105836, 0.13229193125052918, ], minZoom: 0, maxZoom: 7, }, imageryLayerSat2018s2: { crs: "", url: "http://aimap.pudong.sh:5236/zjmap/reproduction-service/maps/rest/services/sat-2019s2/proxy?AccessKey=lUaEMxqqhZKLSImGuP/Ergx47orYVyIqHVgxfyGpIurKAy9kdq5uU1cWuTuIXeOM", resolutions: [ 132.2919312505292, 52.91677250021167, 26.458386250105836, 13.229193125052918, 5.291677250021167, 2.6458386250105836, 1.3229193125052918, 0.5291677250021167, 0.26458386250105836, 0.13229193125052918, ], minZoom: 0, maxZoom: 7, }, }; //地图全局变量声明 var map2DViewer = { markers: {}, polygons: {}, polylines: {}, circles: {}, map: null, maps: [], jlMap: null, jlControl: {}, layers: {}, groups: {}, // 我的标记 myLabels: {}, overlay: {}, analysisGroups: {}, }; // 预设模型图层名称 var defaultModelNameMap = new Map(); // 存放我的标记名称 // key:疑点名称;data:stringify后的geojson数据 var myLabelNameMap = new Map(); // 存储各镇域中心区域位置 var townLocationMap = new Map(); townLocationMap.set("全部", [31.14785322514787, 121.50195320451814]); // 各镇域几何体 -- 方便定位 var townPolygonMap = new Map(); // 自定义模型id集合 var customModelIdMap = new Map(); // 上传数据集合 var uploadDataIdArr = []; // 图层有权限与否集合 var layerAuthorityMap = new Map(); // 图斑固定颜色数组 var targetColor = [ [255, 165, 0], [255, 69, 0], [153, 50, 204], [176, 224, 230], [255, 20, 147], [240, 230, 140], [255, 192, 203], [0, 255, 0], [255, 160, 122], [240, 128, 128], [255, 165, 0], [65, 105, 225], [147, 112, 219], [139, 0, 139], [220, 20, 60], [199, 21, 133], ];