Skip to content

Commit

Permalink
Merge pull request #44 from Indicia-Team/hotfix-os-maps
Browse files Browse the repository at this point in the history
Update OS API URL
  • Loading branch information
JimBacon authored Jun 21, 2021
2 parents f3efe05 + d28694a commit 3134a81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/jquery.indiciaMapPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ var destroyAllFeatures;
*/
function _getPresetLayers(settings) {
var osOptions = {
url: 'https://api2.ordnancesurvey.co.uk/mapping_api/v1/service/wmts?key=' + settings.os_api_key,
url: 'https://api.os.uk/maps/raster/v1/wmts?key=' + settings.os_api_key,
version: '1.0.0',
style: true,
format: 'image/png',
Expand Down Expand Up @@ -1010,7 +1010,7 @@ var destroyAllFeatures;
name: 'Ordnance Survey Leisure',
layer: 'Leisure 27700',
layerId: 'os_leisure.0',
url: 'https://api2.ordnancesurvey.co.uk/mapping_api/v1/service/wmts?key=' + settings.os_api_key,
url: 'https://api.os.uk/maps/raster/v1/wmts?key=' + settings.os_api_key,
version: '1.0.0',
style: true,
format: 'image/png',
Expand Down

0 comments on commit 3134a81

Please sign in to comment.