diff --git a/leaflet-providers.js b/leaflet-providers.js
index 2e298ae2..83938112 100644
--- a/leaflet-providers.js
+++ b/leaflet-providers.js
@@ -976,20 +976,28 @@
},
NLS: {
// NLS maps are copyright National library of Scotland.
- // http://maps.nls.uk/projects/api/index.html
+ // http://maps.nls.uk/projects/subscription-api
// Please contact NLS for anything other than non-commercial low volume usage
//
- // Map sources: Ordnance Survey 1:1m to 1:63K, 1920s-1940s
+ // Map sources: Ordnance Survey 1:1m to 1:63K, 1880s-1961
// z0-9 - 1:1m
// z10-11 - quarter inch (1:253440)
// z12-18 - one inch (1:63360)
- url: 'https://nls-{s}.tileserver.com/nls/{z}/{x}/{y}.jpg',
+ url: 'https://api.maptiler.com/tiles/{variant}/{z}/{x}/{y}.jpg?key={apikey}',
options: {
- attribution: 'National Library of Scotland Historic Maps',
+ attribution: 'National Library of Scotland Historic Maps',
bounds: [[49.6, -12], [61.7, 3]],
minZoom: 1,
- maxZoom: 18,
- subdomains: '0123',
+ maxZoom: 18
+ },
+ variants: {
+ osgb63k1885: 'uk-osgb63k1885',
+ osgb1888: 'uk-osgb1888',
+ osgb10k1888: 'uk-osgb10k1888',
+ osgb1919: 'uk-osgb1919',
+ osgb25k1937: 'uk-osgb25k1937',
+ osgb63k1955: 'uk-osgb63k1955',
+ oslondon1k1893: 'uk-oslondon1k1893'
}
},
JusticeMap: {