diff --git a/projects/vectortile-demo/src/app/olmap/tileurl.ts b/projects/vectortile-demo/src/app/olmap/tileurl.ts index acbd2a6..cf6e102 100644 --- a/projects/vectortile-demo/src/app/olmap/tileurl.ts +++ b/projects/vectortile-demo/src/app/olmap/tileurl.ts @@ -29,11 +29,11 @@ export const tileurlBestuur: VectorTileUrl = { } export const tileurlTop10: VectorTileUrl = { - vectorTileUrl: 'https://api.pdok.nl/brt/top10nl/ogc/v1-demo/tiles/NetherlandsRDNewQuad', + vectorTileUrl: 'https://api.pdok.nl/brt/top10nl/ogc/v1/tiles/NetherlandsRDNewQuad', extension: '.pbf', xyzTemplate: '/{z}/{y}/{x}', ogcApiRootUrl: { - url: "https://api.pdok.nl/brt/top10nl/ogc/v1-demo", + url: "https://api.pdok.nl/brt/top10nl/ogc/v1", lokaalIdRegex: /^\d{1,16}$/ } } diff --git a/projects/vectortile-demo/src/environments/environment.prod.ts b/projects/vectortile-demo/src/environments/environment.prod.ts index 40fff82..42d50df 100644 --- a/projects/vectortile-demo/src/environments/environment.prod.ts +++ b/projects/vectortile-demo/src/environments/environment.prod.ts @@ -13,5 +13,5 @@ export const environment = { //BESTUURLabelsOnly: 'styles/bs_test.json', BESTUURstd: 'https://api.pdok.nl/kadaster/bestuurlijkegebieden/ogc/v1_0/styles/bestuurlijkegebieden_standaardvisualisatie?f=json', - BRTTop10Standaardjsonurl: 'https://api.pdok.nl/brt/top10nl/ogc/v1-demo/styles/brt_top10nl__netherlandsrdnewquad?f=json', + BRTTop10Standaardjsonurl: 'https://api.pdok.nl/brt/top10nl/ogc/v1/styles/brt_top10nl__netherlandsrdnewquad?f=json', } diff --git a/projects/vectortile-demo/src/environments/environment.ts b/projects/vectortile-demo/src/environments/environment.ts index 2cce0f2..3657a52 100644 --- a/projects/vectortile-demo/src/environments/environment.ts +++ b/projects/vectortile-demo/src/environments/environment.ts @@ -4,7 +4,7 @@ export const environment = { production: false, - BRTTop10Standaardjsonurl: 'https://api.pdok.nl/brt/top10nl/ogc/v1-demo/styles/brt_top10nl__netherlandsrdnewquad?f=json', + BRTTop10Standaardjsonurl: 'https://api.pdok.nl/brt/top10nl/ogc/v1/styles/brt_top10nl__netherlandsrdnewquad?f=json', BGTmapboxachtergrondjsonurl: 'styles/bgt_achtergrondvisualisatie.json', @@ -31,4 +31,5 @@ export const environment = { * This import should be commented out in production mode because it will have a negative impact * on performance if an error is thrown. */ -import 'zone.js/plugins/zone-error' // Included with Angular CLI. +import 'zone.js/plugins/zone-error'; // Included with Angular CLI. + diff --git a/projects/vectortile-demo/src/mapboxstyles/brt/brt_top10nl_V1.json b/projects/vectortile-demo/src/mapboxstyles/brt/brt_top10nl_V1.json index 28b9f73..d06662c 100644 --- a/projects/vectortile-demo/src/mapboxstyles/brt/brt_top10nl_V1.json +++ b/projects/vectortile-demo/src/mapboxstyles/brt/brt_top10nl_V1.json @@ -11,7 +11,7 @@ "top10nl": { "type": "vector", "tiles": [ - "https://api.pdok.nl/brt/top10nl/ogc/v1-demo/tiles/NetherlandsRDNewQuad/{z}/{y}/{x}?f=mvt" + "https://api.pdok.nl/brt/top10nl/ogc/v1/tiles/NetherlandsRDNewQuad/{z}/{y}/{x}?f=mvt" ], "minzoom": 9, "maxzoom": 11