Skip to content
New issue

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

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

Already on GitHub? # to your account

Update plugin to be compliant with Leaflet 1.9.4 #28

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

babastienne
Copy link

@babastienne babastienne commented Feb 4, 2025

This PR contains 3 commits :

1 - [ADD] Support for {r} format in urls

This improvement is to be up to date with Leaflet current behavior.
This {r} variable is used to be compatible with retina screens in some URLs and therefore need to be taken in consideration by this plugin.

More information : https://github.com/Leaflet/Leaflet/pull/2296/files

2 - [Improve] Examples file and documentation with working examples

While doing this fix I tested the plugin with last version of leaflet and it seems to be working fine. I decided to update exemples accordingly and fix the URL currently used that are not working anymore.

I also added URLs compliant with the {r} parameter to display and test my previous commit.

Contains :

  • Test successfully with Leaflet 1.9.4
  • Change layers to use working url
  • Update documentation in readme

3 - [DOC] Add new contributor

Because I was editing the readme and I saw this section I added myself as contributor. You can obviously remove this commit if you want, I don't care.

This support is to be up to date with Leaflet current behavior.
This {r} variable is used to be compatible with retina screens.

More information : https://github.com/Leaflet/Leaflet/pull/2296/files
- Test successfully with Leaflet 1.9.4
- Change layers to use working url
- Update documentation in readme
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant