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

Add a description of the Leaflet.inflatable-markers-group #8627

Merged
merged 1 commit into from
Oct 27, 2022

Conversation

lgeorget
Copy link
Contributor

Hi,

I've made a custom plugin to declutter maps. It's like an alternative to the Marker cluster plugin. The way it works is that all markers has two states : a expanded state ("inflated") and a reduced state ("deflated") with another design, more compact and with less information to declutter the map. Here's a demonstration: https://meteo-concept.github.io/leaflet-inflatable-markers-group/example1.

It's possible to inflate/deflate a marker by right-clicking on it. The markers also adapt their state when the map is zoomed in and out to show as many markers as possible in their inflated state without overlap.

We've been using for several months on our sites (like https://www.meteo.bzh/climatologie/normales for instance) and we hope it can be useful to others.

Cheers,

@Malvoz Malvoz added the plugins label Oct 27, 2022
Copy link
Member

@IvanSanchez IvanSanchez left a comment

Choose a reason for hiding this comment

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

The demo seems to be using an outdated Leaflet version, but other than that it looks good to me.

@Malvoz Malvoz merged commit 4cb8a56 into Leaflet:main Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants