1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- /**
- * [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://aimap.pudong.sh:5236/zjmap/reproduction-service/maps/rest/services/basemap-shanghai-gem-blue-sh2000/mapserver?AccessKey=lUaEMxqqhZKLSImGuP/Ergx47orYVyIqHVgxfyGpIurKAy9kdq5uU1cWuTuIXeOM",
- resolutions: [
- 529.1666666666666, 264.5833333333333, 132.29166666666666,
- 52.916666666666664, 26.458333333333332, 13.229166666666666,
- 5.291666666666666, 2.645833333333333, 1.3229166666666665,
- 0.5291666666666666, 0.2645833333333333, 0.13229166666666664,
- ],
- minZoom: 1,
- maxZoom: 12,
- },
- // 遥感影像图的相关配置项
- imageryLayer: {
- crs: "",
- url: "http://aimap.pudong.sh:5236/zjmap/reproduction-service/maps/rest/services/sat-2019s1/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-2018s2/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();
|