From 1b9e7eedca39eac603b3c9ea92d895103490e038 Mon Sep 17 00:00:00 2001 From: Just van den Broecke Date: Thu, 13 Jun 2024 13:34:30 +0200 Subject: [PATCH 1/3] Use new PDOK NL WMTS URLs --- docs/wegue-configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/wegue-configuration.md b/docs/wegue-configuration.md index 33b46edb..a00fd531 100644 --- a/docs/wegue-configuration.md +++ b/docs/wegue-configuration.md @@ -197,7 +197,7 @@ In a Layer configuration a specific tilegrid can be refered to as follows, using "type": "XYZ", "lid": "brtachtergrondkaart", "name": "WMTS - Topo Basemap - PDOK", - "url": "https://geodata.nationaalgeoregister.nl/tiles/service/wmts/brtachtergrondkaart/EPSG:28992/{z}/{x}/{y}.png", + "url": "https://service.pdok.nl/brt/achtergrondkaart/wmts/v2_0/standaard/EPSG:28992/{z}/{x}/{y}.png", "projection": "EPSG:28992", "tileGridRef": "dutch_rd", "visible": true From bec2b7f3b1141b24ff6d28e618a75ebed95a6196 Mon Sep 17 00:00:00 2001 From: Just van den Broecke Date: Thu, 13 Jun 2024 13:38:11 +0200 Subject: [PATCH 2/3] Use new URLs PDOK NL WMTS --- docs/map-layer-configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/map-layer-configuration.md b/docs/map-layer-configuration.md index 2201633d..4a6dc12e 100644 --- a/docs/map-layer-configuration.md +++ b/docs/map-layer-configuration.md @@ -129,7 +129,7 @@ Similar properties as Tiled WMS, with these exceptions: | Property | Meaning | Example | |--------------------|:---------:|---------| | **type** | Indicator that the layer is a XYZ tiled image layer, always `XYZ` here | `"type": "XYZ"` | -| **url** | The URL of the service providing the image tiles | `"url": "https://geodata.nationaalgeoregister.nl/tiles/service/wmts/brtachtergrondkaart/EPSG:28992/{z}/{x}/{y}.png"` | +| **url** | The URL of the service providing the image tiles | `"url": "https://service.pdok.nl/brt/achtergrondkaart/wmts/v2_0/standaard/EPSG:28992/{z}/{x}/{y}.png"` | | projection | The projection of the layer. Has to be defined in `projectionDefs` if not `EPSG:4326` or `EPSG:3857`. if not set the projection of the map is used | `"projection": "EPSG:3857"` | | tileGridRef | Identifier of the tile grid to use for this layer (has to be defined in `tileGridDefs` | `"tileGridRef": "dutch_rd"` | | crossOrigin | Provides support for CORS, defining how the layers source handles crossorigin requests. For more information and the supported values see [HTML attribute: crossorigin](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin) | `"crossOrigin": "anonymous"` | From 399ada3fde1d45c175947bb54035e61973b2d695 Mon Sep 17 00:00:00 2001 From: Just van den Broecke Date: Thu, 13 Jun 2024 13:39:30 +0200 Subject: [PATCH 3/3] Use new PDOK NL WMTS URLs --- tests/unit/specs/components/ol/Map.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/specs/components/ol/Map.spec.js b/tests/unit/specs/components/ol/Map.spec.js index 6ba88f05..c83d74fd 100644 --- a/tests/unit/specs/components/ol/Map.spec.js +++ b/tests/unit/specs/components/ol/Map.spec.js @@ -246,7 +246,7 @@ describe('ol/Map.vue', () => { mapLayers: [{ type: 'XYZ', lid: 'brtachtergrondkaart', - url: 'https://geodata.nationaalgeoregister.nl/tiles/service/wmts/brtachtergrondkaart/EPSG:28992/{z}/{x}/{y}.png', + url: 'https://service.pdok.nl/brt/achtergrondkaart/wmts/v2_0/standaard/EPSG:28992/{z}/{x}/{y}.png', projection: 'EPSG:28992', tileGridRef: 'dutch_rd', displayInLayerList: true,