| | |
| | | "maximumLevel": 17 |
| | | } |
| | | ] |
| | | }, |
| | | }, |
| | | { |
| | | "name": "离线影像", |
| | | "tooltip": "赣州市离线影像", |
| | |
| | | }, |
| | | "widgets": [ |
| | | { |
| | | "name": "旅游路线", |
| | | "name": "轨迹线", |
| | | "uri": "widgets/PathShow/Widget" |
| | | }, |
| | | { |
| | | "name": "剖面分析", |
| | | "uri": "widgets/MapSection/Widget", |
| | | "position": { |
| | | "left": 20, |
| | | "top": 90, |
| | | "width": "440px", |
| | | "height": "320px", |
| | | "relativeTo": "map" |
| | | } |
| | | }, |
| | | { |
| | | "name": "鹰眼地图", |
| | | "uri": "widgets/HawkEyeMap/Widget" |
| | | }, |
| | | { |
| | | "name": "图片动画", |
| | | "uri": "widgets/PictureAnimation/Widget" |
| | | } |
| | | ], |
| | | "groups": [] |
| | |
| | | var imageryLayers = this.map.imageryLayers; |
| | | imageryLayers.removeAll(); |
| | | |
| | | |
| | | var yinyan = new Cesium.WebMapTileServiceImageryProvider({ |
| | | "label": "天地图影像", |
| | | "type": "wmts", |
| | | "url": "http://t0.tianditu.gov.cn/img_w/wmts?tk=e9533f5acb2ac470b07f406a4d24b4f0", |
| | | "layer": "img", |
| | | "style": "default", |
| | | "format": "tiles", |
| | | "tileMatrixSetID": "w", |
| | | "maximumLevel": 17 |
| | | }); |
| | | dcViewer.hawkeyeMap.enable = true |
| | | dcViewer.hawkeyeMap.addBaseLayer( |
| | | yinyan |
| | | ) |
| | | |
| | | // // 罗盘 |
| | | // this.map.extend(Cesium.viewerCesiumNavigationMixin); |
| | | // //当然也可以使用默认的 |
| | |
| | | } else { |
| | | iconUrl = iconConfig.icon; |
| | | } |
| | | if (iconConfig.name == "AnalysisOfBarrierLake" || iconConfig.name == 'ThematicDynamicRiver' || iconConfig.name == "MapSection") { |
| | | if (iconConfig.name == "AnalysisOfBarrierLake" || iconConfig.name == 'ThematicDynamicRiver') { |
| | | node = null; |
| | | return; |
| | | } else { |