Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Jan 18, 2024

Conversation

D-Groenewegen
Copy link
Contributor

@D-Groenewegen D-Groenewegen commented Oct 16, 2023

Fixes: #461

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

Copy link
Member

@brunob brunob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM any thoughts @jieter ?

@jieter
Copy link
Contributor

jieter commented Oct 17, 2023

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?

@jieter jieter changed the title NLS-patch Update tile urls of NLS (National Library of Scotland) Oct 17, 2023
{variant} not {variants}
Convert double to single quotes.
@D-Groenewegen
Copy link
Contributor Author

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.

@jieter jieter merged commit f560d37 into leaflet-extras:master Jan 18, 2024
1 check passed
@D-Groenewegen D-Groenewegen deleted the nls-patch-1 branch January 26, 2024 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Updating NLS section of leaflet-providers.js
3 participants