From 8cebba378b65a879154d2b88bddea6949436f3d8 Mon Sep 17 00:00:00 2001 From: Malcolm Morgan Date: Thu, 17 Apr 2025 11:53:55 +0100 Subject: [PATCH] Change Source for OS Open Zoomstack Outdoor due to 404 error --- src/layerviewer.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/layerviewer.js b/src/layerviewer.js index 840e47c..6f2967d 100644 --- a/src/layerviewer.js +++ b/src/layerviewer.js @@ -139,10 +139,9 @@ const layerviewer = (function ($) { label: 'OpenStreetMap', description : 'The default OpenStreetMap style, emphasising road type and surrounding buildings.' }, - // See: https://www.ordnancesurvey.co.uk/documents/os-open-zoomstack-vector-tile-api.pdf - // Also later release, requiring a key, at: https://www.ordnancesurvey.co.uk/newsroom/blog/creating-your-own-vector-tiles + // New Soruce from GitHub https://github.com/OrdnanceSurvey/OS-Open-Zoomstack-Stylesheets osoutdoor: { - vectorTiles: 'https://s3-eu-west-1.amazonaws.com/tiles.os.uk/styles/open-zoomstack-outdoor/style.json', + vectorTiles: 'https://raw.githubusercontent.com/OrdnanceSurvey/OS-Open-Zoomstack-Stylesheets/refs/heads/master/Vector%20Tiles/Mapbox%20GL%20Styles/OS%20Open%20Zoomstack%20-%20Outdoor.json', label: 'OS outdoor', description: 'Display footpaths, rights of way, open access land and the vegetation on the land.', placenamesLayers: ['Country names', 'Capital City names', 'City names', 'Town names'],