|
@@ -142,7 +142,7 @@ export async function AddSingleLayer(params) {
|
|
id: params.id,
|
|
id: params.id,
|
|
title: params.title,
|
|
title: params.title,
|
|
visible: params.visible,
|
|
visible: params.visible,
|
|
- opacity: params.opacity,
|
|
|
|
|
|
+ opacity: 0.8,
|
|
url: params.url + '/SceneServer',
|
|
url: params.url + '/SceneServer',
|
|
where: 'objectid not in (3941595,3841426)',
|
|
where: 'objectid not in (3941595,3841426)',
|
|
type: 'scene',
|
|
type: 'scene',
|
|
@@ -154,98 +154,20 @@ export async function AddSingleLayer(params) {
|
|
offset: -3.5,
|
|
offset: -3.5,
|
|
},
|
|
},
|
|
renderer: {
|
|
renderer: {
|
|
- type: 'class-breaks',
|
|
|
|
- field: 'HEIGHT',
|
|
|
|
- classBreakInfos: [
|
|
|
|
- {
|
|
|
|
- minValue: 0,
|
|
|
|
- maxValue: 10,
|
|
|
|
- symbol: {
|
|
|
|
- type: 'mesh-3d',
|
|
|
|
- symbolLayers: [
|
|
|
|
- {
|
|
|
|
- type: 'fill',
|
|
|
|
- material: {
|
|
|
|
- color: [55, 135, 192, 0.7],
|
|
|
|
- colorMixMode: 'replace',
|
|
|
|
- },
|
|
|
|
- edges: {
|
|
|
|
- type: 'solid',
|
|
|
|
- color: [0, 0, 0, 0.6],
|
|
|
|
- size: 1,
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
- },
|
|
|
|
- label: '<10',
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- minValue: 10.1,
|
|
|
|
- maxValue: 24,
|
|
|
|
- symbol: {
|
|
|
|
- type: 'mesh-3d',
|
|
|
|
- symbolLayers: [
|
|
|
|
- {
|
|
|
|
- type: 'fill',
|
|
|
|
- material: {
|
|
|
|
- color: [148, 195, 223, 0.7],
|
|
|
|
- colorMixMode: 'replace',
|
|
|
|
- },
|
|
|
|
- edges: {
|
|
|
|
- type: 'solid',
|
|
|
|
- color: [0, 0, 0, 0.6],
|
|
|
|
- size: 1,
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
- },
|
|
|
|
- label: '10~24',
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- minValue: 24.1,
|
|
|
|
- maxValue: 100,
|
|
|
|
- symbol: {
|
|
|
|
- type: 'mesh-3d',
|
|
|
|
- symbolLayers: [
|
|
|
|
- {
|
|
|
|
- type: 'fill',
|
|
|
|
- material: {
|
|
|
|
- color: [230, 238, 251, 0.7],
|
|
|
|
- colorMixMode: 'replace',
|
|
|
|
- },
|
|
|
|
- edges: {
|
|
|
|
- type: 'solid',
|
|
|
|
- color: [0, 0, 0, 0.6],
|
|
|
|
- size: 1,
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
- },
|
|
|
|
- label: '24~100',
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- minValue: 100.1,
|
|
|
|
- maxValue: 1000,
|
|
|
|
- symbol: {
|
|
|
|
- type: 'mesh-3d',
|
|
|
|
- symbolLayers: [
|
|
|
|
- {
|
|
|
|
- type: 'fill',
|
|
|
|
- material: {
|
|
|
|
- color: [235, 240, 249, 0.7],
|
|
|
|
- colorMixMode: 'replace',
|
|
|
|
- },
|
|
|
|
- edges: {
|
|
|
|
- type: 'solid',
|
|
|
|
- color: [0, 0, 0, 0.6],
|
|
|
|
- size: 1,
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
|
|
+ type: 'simple',
|
|
|
|
+ symbol: {
|
|
|
|
+ type: 'mesh-3d',
|
|
|
|
+ symbolLayers: [
|
|
|
|
+ {
|
|
|
|
+ type: 'fill',
|
|
|
|
+ material: {
|
|
|
|
+ color: [102, 167, 219, 0.9],
|
|
|
|
+ //color: [255, 255, 255, 0.9],
|
|
|
|
+ colorMixMode: 'replace',
|
|
|
|
+ },
|
|
},
|
|
},
|
|
- label: '>100',
|
|
|
|
- },
|
|
|
|
- ],
|
|
|
|
|
|
+ ],
|
|
|
|
+ },
|
|
},
|
|
},
|
|
mapID: params.mapID,
|
|
mapID: params.mapID,
|
|
})
|
|
})
|