12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- /**
- * [systemConfig description]
- * @type {Object}
- * auth yangyang
- * version 0.0.1
- */
- var systemConfig = {
- // 经度偏移矫正值 -- WGS84转上海2000
- lonCorrectParams:0.1920,
- // 纬度偏移校正值 -- 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:
- "http://aimap.pudong.sh:5236/zjmap/reproduction-service/maps/rest/services/sat-2018s2/proxy?AccessKey=lUaEMxqqhZKLSImGuP/Ergx47orYVyIqHVgxfyGpIurKAy9kdq5uU1cWuTuIXeOM",
- imageryLayer:
- "http://aimap.pudong.sh:5236/zjmap/reproduction-service/maps/rest/services/sat-2019s2/proxy?AccessKey=lUaEMxqqhZKLSImGuP/Ergx47orYVyIqHVgxfyGpIurKAy9kdq5uU1cWuTuIXeOM",
- };
- //地图全局变量声明
- 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();
|