comparison client/src/components/map/layers.js @ 3641:32d7bb1afdc9 configuration

client: configuration: support wms services with nested layers
author Markus Kottlaender <markus@intevation.de>
date Wed, 12 Jun 2019 16:10:25 +0200
parents f3102fa16a69
children fb8a53c7c6d3
comparison
equal deleted inserted replaced
3638:158d55ec2042 3641:32d7bb1afdc9
228 id: "INLANDECDIS", 228 id: "INLANDECDIS",
229 label: "Inland ECDIS chart Danube", 229 label: "Inland ECDIS chart Danube",
230 visible: true, 230 visible: true,
231 source: new ImageSource({ 231 source: new ImageSource({
232 preload: 1, 232 preload: 1,
233 url: "https://service.d4d-portal.info/wms/", 233 url: store.state.application.config.ecdis_wms_url,
234 crossOrigin: "anonymous", 234 crossOrigin: "anonymous",
235 params: { LAYERS: "d4d", VERSION: "1.1.1", TILED: true } 235 params: JSON.parse(store.state.application.config.ecdis_wms_params)
236 }) 236 })
237 }), 237 }),
238 new ImageLayer({ 238 new ImageLayer({
239 id: "WATERWAYAREA", 239 id: "WATERWAYAREA",
240 label: "Waterway Area", 240 label: "Waterway Area",