leaflet-extras / leaflet-providers

An extension to Leaflet that contains configurations for various free tile providers.
https://leaflet-extras.github.io/leaflet-providers/preview/
BSD 2-Clause "Simplified" License
2.15k stars 668 forks source link

Update tile urls of NLS (National Library of Scotland) #535

Closed D-Groenewegen closed 8 months ago

D-Groenewegen commented 11 months ago

Fixes: #461

Update NLS (National Library of Scotland) because of move to MapTiler Cloud API. For details, see #461.

jieter commented 11 months ago

Looks good. It would be nice to have an API key to demonstrate them in our preview:

https://leaflet-extras.github.io/leaflet-providers/preview/#filter=NLS

@D-Groenewegen do you think we could do that without a cost?

Can you also please fix the lint error?

D-Groenewegen commented 11 months ago

The problem is that we require an API key and with a free account, the maximum number of requests a month is limited. To 1000 API requests if I remember correctly, which is still generous but probably not enough. The only thing I can do is send an email to the National Library of Scotland and ask if we may borrow theirs for the sole purpose of the demo. Using it without permission would be unethical.