123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- /**
- * @fileoverview 应用配置文件
- * @version 1.0.8
- */
- /**
- * 版本号
- */
- var onemapVersion = '1.2.2'; //+'-'+(new Date()).getTime();
- /**
- * map引擎配置
- */
- var map23DConfig = {
- //2D地图最小缩放等级
- map2DMinZoom: 2,
- //2D地图最大缩放等级
- map2DMaxZoom: 19,
- //3D瓦片图片类型
- imageType: 'png',
- //3D瓦片范围
- layerBounds: [
- [90, -180],
- [-90, 180]
- ], //左上角 右下角,
- //23D资源文件
- map23DAssetsUrl: 'http://localhost:10152', //+ 文件名
- //图层最大数量限制
- layerMaxLength: 10,
- //网络类型1:离线,2:在线
- netType: 2,
- atlas: true, //海量地图库
- sanweiMenu: true, //三维场景
- clockLocal: true, //是否用本地时间
- };
- /**
- * 应用Url配置
- * @type {Object}
- */
- var onemapUrlConfig = {
- //域名
- siteUrl: 'http://localhost:10152',
- //DMS
- DMS_URL: "/proxy_dms",
- OAUTH_URL: "/proxy_auth",
- columnConfig: {
- vector: {
- id: 1410,
- },
- raster: {
- id: 1417,
- },
- model: {
- id: 1416,
- },
- },
- //图层配置
- customizeLayer: {
- // gr: "http://121.43.55.7:10011/proxy?servertype=World_Imagery&token=622067E9-93E5-D8EC-E677-85B58A63C0C7", // 2000
- gr: "https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer", // 2000
- gt: "http://map.geoq.cn/arcgis/rest/services/ChinaOnlineStreetPurplishBlue/MapServer",
- gm: "http://map.geoq.cn/arcgis/rest/services/ChinaOnlineStreetPurplishBlue/MapServer"
- },
- //系统名称
- //systemName: '全息地理信息系统',
- // systemName: '大数据可视化平台',
- systemName: '地图数据可视化系统',
- //系统logo
- systemLogoUrl: 'http://localhost:10152/images/layout/logo-offline.png',
- //版权
- systemCopy: '-',
- //默认全局设置
- defaultGlobalSettingData: {
- "baseMap2D": {
- "center": {
- "lat": 39.9,
- "lng": 116.37
- },
- "type": 2,
- "zoom": 4
- },
- "map2DThematicSetting": [],
- "map2DThematicCategory": [],
- "baseMap3D": {
- "map3DDEM": "http://mt.mapplus.cn/v1.0/dem?z=%d&x=%d&y=%d",
- "map3DName": "http://119.3.233.75:5050/v1.0/name?x={x}&y={y}&z={z}"
- },
- "map3DModelSettingCategory": [],
- "map3DModelSetting": [
- {
- "category": "倾斜摄影",
- "info": "",
- "type": "qxData",
- "name": "蟠龙天地建筑",
- "url": "http://121.43.55.7:10011/proxy/tileset.json?servertype=ppl_jz&token=622067E9-93E5-D8EC-E677-85B58A63C0C7"
- }, {
- "category": "倾斜摄影",
- "info": "",
- "type": "qxData",
- "name": "蟠龙天地水系",
- "url": "http://121.43.55.7:10011/proxy/tileset.json?servertype=ppl_sx&token=622067E9-93E5-D8EC-E677-85B58A63C0C7"
- }, {
- "category": "倾斜摄影",
- "info": "",
- "type": "qxData",
- "name": "蟠龙天地地面",
- "url": "http://121.43.55.7:10011/proxy/tileset.json?servertype=ppl_dm&token=622067E9-93E5-D8EC-E677-85B58A63C0C7"
- }, {
- "category": "倾斜摄影",
- "info": "",
- "type": "qxData",
- "name": "蟠龙天地小品",
- "url": "http://121.43.55.7:10011/proxy/tileset.json?servertype=ppl_xp&token=622067E9-93E5-D8EC-E677-85B58A63C0C7"
- }
- ],
- "importantGoalsCategory": [],
- "importantGoalsSetting": [],
- },
- //底图类型设置
- defaultTypes: [{
- "name": "影像图",
- "id": "gr",
- "imgurl": "../images/layout/yingxiang.png"
- }, {
- "name": "地势图",
- "id": "gt",
- "imgurl": "../images/layout/dishi.png"
- }, {
- "name": "线划图",
- "id": "gm",
- "imgurl": "../images/layout/jiaot.png"
- }],
- };
|