Mercurial > gemma
comparison client/src/store/map.js @ 1645:14bb1289b97b
client: (minor) improve loading of d4d-portal WMS.
* Add a'/' and the end of the url, which avoids one redirect.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Thu, 20 Dec 2018 15:20:49 +0100 |
parents | 1fde2f48977b |
children | 53f49b109f0c |
comparison
equal
deleted
inserted
replaced
1644:eadf84bb0e98 | 1645:14bb1289b97b |
---|---|
57 { | 57 { |
58 name: "Inland ECDIS chart Danube", | 58 name: "Inland ECDIS chart Danube", |
59 data: new TileLayer({ | 59 data: new TileLayer({ |
60 source: new TileWMS({ | 60 source: new TileWMS({ |
61 preload: 1, | 61 preload: 1, |
62 url: "https://demo.d4d-portal.info/wms", | 62 url: "https://demo.d4d-portal.info/wms/", |
63 params: { LAYERS: "d4d", VERSION: "1.1.1", TILED: true } | 63 params: { LAYERS: "d4d", VERSION: "1.1.1", TILED: true } |
64 }) | 64 }) |
65 }), | 65 }), |
66 isVisible: true, | 66 isVisible: true, |
67 showInLegend: true | 67 showInLegend: true |