|
@@ -269,6 +269,15 @@ export function addLayerByName(name,isShow,opacity){
|
|
|
token: '',
|
|
|
is_goto: true
|
|
|
})
|
|
|
+ addLayer({
|
|
|
+ id: 'waterDepthPointHpj2023UpLayer',
|
|
|
+ title: 'waterDepthPointHpj2023UpLayer',
|
|
|
+ type: 'scene',
|
|
|
+ url: layerConfig.hpjUp2023Layer,
|
|
|
+ visible: isShow,
|
|
|
+ opacity: opacity?opacity:1,
|
|
|
+ token: ''
|
|
|
+ })
|
|
|
break
|
|
|
case '2023.2':
|
|
|
addLayer({
|
|
@@ -281,6 +290,15 @@ export function addLayerByName(name,isShow,opacity){
|
|
|
token: '',
|
|
|
is_goto: true
|
|
|
})
|
|
|
+ addLayer({
|
|
|
+ id: 'waterDepthPointHpj2023UpLayer',
|
|
|
+ title: 'waterDepthPointHpj2023UpLayer',
|
|
|
+ type: 'scene',
|
|
|
+ url: layerConfig.hpjUp2023Layer,
|
|
|
+ visible: isShow,
|
|
|
+ opacity: opacity?opacity:1,
|
|
|
+ token: ''
|
|
|
+ })
|
|
|
break
|
|
|
case '2022.1':
|
|
|
addLayer({
|
|
@@ -293,6 +311,15 @@ export function addLayerByName(name,isShow,opacity){
|
|
|
token: '',
|
|
|
is_goto: false
|
|
|
})
|
|
|
+ addLayer({
|
|
|
+ id: 'waterDepthPointHpj2022UpLayer',
|
|
|
+ title:'waterDepthPointHpj2022UpLayer',
|
|
|
+ type: 'scene',
|
|
|
+ url: layerConfig.hpjUp2022Layer,
|
|
|
+ visible: isShow,
|
|
|
+ opacity: opacity?opacity:1,
|
|
|
+ token: ''
|
|
|
+ })
|
|
|
break
|
|
|
case '2022.2':
|
|
|
addLayer({
|
|
@@ -305,6 +332,15 @@ export function addLayerByName(name,isShow,opacity){
|
|
|
token: '',
|
|
|
is_goto: false
|
|
|
})
|
|
|
+ addLayer({
|
|
|
+ id: 'waterDepthPointHpj2022UpLayer',
|
|
|
+ title:'waterDepthPointHpj2022UpLayer',
|
|
|
+ type: 'scene',
|
|
|
+ url: layerConfig.hpjUp2022Layer,
|
|
|
+ visible: isShow,
|
|
|
+ opacity: opacity?opacity:1,
|
|
|
+ token: ''
|
|
|
+ })
|
|
|
break
|
|
|
case '2021.1':
|
|
|
addLayer({
|
|
@@ -317,6 +353,16 @@ export function addLayerByName(name,isShow,opacity){
|
|
|
token: '',
|
|
|
is_goto: false
|
|
|
})
|
|
|
+
|
|
|
+ addLayer({
|
|
|
+ id: 'waterDepthPointHpj2021UpLayer',
|
|
|
+ title:'waterDepthPointHpj2021UpLayer',
|
|
|
+ type: 'scene',
|
|
|
+ url: layerConfig.hpjUp2021Layer,
|
|
|
+ visible: isShow,
|
|
|
+ opacity: opacity?opacity:1,
|
|
|
+ token: ''
|
|
|
+ })
|
|
|
break
|
|
|
case '2021.2':
|
|
|
addLayer({
|
|
@@ -329,6 +375,16 @@ export function addLayerByName(name,isShow,opacity){
|
|
|
token: '',
|
|
|
is_goto: false
|
|
|
})
|
|
|
+
|
|
|
+ addLayer({
|
|
|
+ id: 'waterDepthPointHpj2021UpLayer',
|
|
|
+ title:'waterDepthPointHpj2021UpLayer',
|
|
|
+ type: 'scene',
|
|
|
+ url: layerConfig.hpjUp2021Layer,
|
|
|
+ visible: isShow,
|
|
|
+ opacity: opacity?opacity:1,
|
|
|
+ token: ''
|
|
|
+ })
|
|
|
break
|
|
|
case '2020.1':
|
|
|
addLayer({
|
|
@@ -555,6 +611,15 @@ export function addLayerByName(name,isShow,opacity){
|
|
|
opacity: opacity?opacity:1,
|
|
|
token: ''
|
|
|
})
|
|
|
+ addLayer({
|
|
|
+ id: 'waterDepthPointDm2021UpLayer',
|
|
|
+ title:'waterDepthPointDm2021UpLayer',
|
|
|
+ type: 'scene',
|
|
|
+ url: layerConfig.dmUp2021Layer,
|
|
|
+ visible: isShow,
|
|
|
+ opacity: opacity?opacity:1,
|
|
|
+ token: ''
|
|
|
+ })
|
|
|
|
|
|
var data = {'distance': 100, 'year': 2021.1}
|
|
|
if(isShow){
|
|
@@ -576,6 +641,15 @@ export function addLayerByName(name,isShow,opacity){
|
|
|
opacity: opacity?opacity:1,
|
|
|
token: ''
|
|
|
})
|
|
|
+ addLayer({
|
|
|
+ id: 'waterDepthPointDm2021UpLayer',
|
|
|
+ title:'waterDepthPointDm2021UpLayer',
|
|
|
+ type: 'scene',
|
|
|
+ url: layerConfig.dmUp2021Layer,
|
|
|
+ visible: isShow,
|
|
|
+ opacity: opacity?opacity:1,
|
|
|
+ token: ''
|
|
|
+ })
|
|
|
|
|
|
var data = {'distance': 100, 'year': 2021.2}
|
|
|
if(isShow){
|
|
@@ -598,6 +672,16 @@ export function addLayerByName(name,isShow,opacity){
|
|
|
token: ''
|
|
|
})
|
|
|
|
|
|
+ addLayer({
|
|
|
+ id: 'waterDepthPointDm2022UpLayer',
|
|
|
+ title:'waterDepthPointDm2022UpLayer',
|
|
|
+ type: 'scene',
|
|
|
+ url: layerConfig.dmUp2022Layer,
|
|
|
+ visible: isShow,
|
|
|
+ opacity: opacity?opacity:1,
|
|
|
+ token: ''
|
|
|
+ })
|
|
|
+
|
|
|
var data = {'distance': 100, 'year': 2022.1}
|
|
|
if(isShow){
|
|
|
if(getMapScale() <= 5000) {
|
|
@@ -618,6 +702,15 @@ export function addLayerByName(name,isShow,opacity){
|
|
|
opacity: opacity?opacity:1,
|
|
|
token: ''
|
|
|
})
|
|
|
+ addLayer({
|
|
|
+ id: 'waterDepthPointDm2022UpLayer',
|
|
|
+ title:'waterDepthPointDm2022UpLayer',
|
|
|
+ type: 'scene',
|
|
|
+ url: layerConfig.dmUp2022Layer,
|
|
|
+ visible: isShow,
|
|
|
+ opacity: opacity?opacity:1,
|
|
|
+ token: ''
|
|
|
+ })
|
|
|
|
|
|
var data = {'distance': 100, 'year': 2022.2}
|
|
|
if(isShow){
|
|
@@ -660,6 +753,15 @@ export function addLayerByName(name,isShow,opacity){
|
|
|
opacity: opacity?opacity:1,
|
|
|
token: ''
|
|
|
})
|
|
|
+ addLayer({
|
|
|
+ id: 'waterDepthPointDm2023UpLayer',
|
|
|
+ title:'waterDepthPointDm2023UpLayer',
|
|
|
+ type: 'scene',
|
|
|
+ url: layerConfig.dmUp2023Layer,
|
|
|
+ visible: isShow,
|
|
|
+ opacity: opacity?opacity:1,
|
|
|
+ token: ''
|
|
|
+ })
|
|
|
|
|
|
var data = {'distance': 100, 'year': 2023.2}
|
|
|
if(isShow){
|