| | |
| | | <template> |
| | | <div style="height: 100%; width: 100%; position: relative;"> |
| | | <div v-show="SelectTimeFlag"> |
| | | <select-time ref="leftRoller" :leftOrRight="'left'" class="l-time"></select-time> |
| | | <select-time |
| | | ref="leftRoller" |
| | | :leftOrRight="'left'" |
| | | class="l-time" |
| | | :selectList="leftRollerLayers" |
| | | ></select-time> |
| | | </div> |
| | | |
| | | <div v-show="SelectTimeFlag"> |
| | | <select-time ref="rightRoller" :leftOrRight="'right'" class="r-time"></select-time> |
| | | <select-time |
| | | ref="rightRoller" |
| | | :leftOrRight="'right'" |
| | | class="r-time" |
| | | :selectList="rightRollerLayers" |
| | | ></select-time> |
| | | </div> |
| | | |
| | | <div class="location-box" v-show="!rollerCloseShow && !screenShow"> |
| | |
| | | |
| | | data () { |
| | | return { |
| | | // 左边集合 |
| | | leftRollerLayers: [], |
| | | // 右边集合 |
| | | rightRollerLayers: [], |
| | | |
| | | SelectTimeFlag: false, |
| | | rollerCloseShow: false, |
| | | screenShow: false, |
| | |
| | | } |
| | | }, |
| | | |
| | | computed: { |
| | | created () { |
| | | this.leftRollerLayers = [{ |
| | | title: '2022年5月影像', |
| | | url: 'http://arcgis.jxpskj.com:6080/arcgis/rest/services/nanchengdom/MapServer/WMTS', |
| | | layer: 'nanchengdom', |
| | | style: 'default', |
| | | tileMatrixSetID: 'default028mm', |
| | | format: 'image/png', |
| | | tilingScheme: new global.DC.Namespace.Cesium.GeographicTilingScheme(), |
| | | maximumLevel: 19, |
| | | tileMatrixLabels: [ |
| | | '0', |
| | | '1', |
| | | '2', |
| | | '3', |
| | | '4', |
| | | '5', |
| | | '6', |
| | | '7', |
| | | '8', |
| | | '9', |
| | | '10', |
| | | '11', |
| | | '12', |
| | | '13', |
| | | '14', |
| | | '15', |
| | | '16', |
| | | '17', |
| | | '18', |
| | | '19' |
| | | ] |
| | | }, { |
| | | title: '2022年7月影像', |
| | | url: 'http://arcgis.jxpskj.com:6080/arcgis/rest/services/nanchengdomjuly/MapServer/WMTS', |
| | | layer: 'nanchengdomjuly', |
| | | style: 'default', |
| | | tileMatrixSetID: 'default028mm', |
| | | format: 'image/png', |
| | | tilingScheme: new global.DC.Namespace.Cesium.GeographicTilingScheme(), |
| | | maximumLevel: 19, |
| | | tileMatrixLabels: [ |
| | | '0', |
| | | '1', |
| | | '2', |
| | | '3', |
| | | '4', |
| | | '5', |
| | | '6', |
| | | '7', |
| | | '8', |
| | | '9', |
| | | '10', |
| | | '11', |
| | | '12', |
| | | '13', |
| | | '14', |
| | | '15', |
| | | '16', |
| | | '17', |
| | | '18', |
| | | '19' |
| | | ] |
| | | }] |
| | | |
| | | this.rightRollerLayers = [{ |
| | | title: '2022年5月影像', |
| | | url: 'http://arcgis.jxpskj.com:6080/arcgis/rest/services/nanchengdom/MapServer/WMTS', |
| | | layer: 'nanchengdom', |
| | | style: 'default', |
| | | tileMatrixSetID: 'default028mm', |
| | | format: 'image/png', |
| | | tilingScheme: new global.DC.Namespace.Cesium.GeographicTilingScheme(), |
| | | maximumLevel: 19, |
| | | tileMatrixLabels: [ |
| | | '0', |
| | | '1', |
| | | '2', |
| | | '3', |
| | | '4', |
| | | '5', |
| | | '6', |
| | | '7', |
| | | '8', |
| | | '9', |
| | | '10', |
| | | '11', |
| | | '12', |
| | | '13', |
| | | '14', |
| | | '15', |
| | | '16', |
| | | '17', |
| | | '18', |
| | | '19' |
| | | ] |
| | | }, { |
| | | title: '2022年7月影像', |
| | | url: 'http://arcgis.jxpskj.com:6080/arcgis/rest/services/nanchengdomjuly/MapServer/WMTS', |
| | | layer: 'nanchengdomjuly', |
| | | style: 'default', |
| | | tileMatrixSetID: 'default028mm', |
| | | format: 'image/png', |
| | | tilingScheme: new global.DC.Namespace.Cesium.GeographicTilingScheme(), |
| | | maximumLevel: 19, |
| | | tileMatrixLabels: [ |
| | | '0', |
| | | '1', |
| | | '2', |
| | | '3', |
| | | '4', |
| | | '5', |
| | | '6', |
| | | '7', |
| | | '8', |
| | | '9', |
| | | '10', |
| | | '11', |
| | | '12', |
| | | '13', |
| | | '14', |
| | | '15', |
| | | '16', |
| | | '17', |
| | | '18', |
| | | '19' |
| | | ] |
| | | }] |
| | | }, |
| | | mounted () { |
| | | if (global.viewer != null) { |