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

How to disable cluster. #31

Open
kuzarandom opened this issue Apr 19, 2023 · 4 comments
Open

How to disable cluster. #31

kuzarandom opened this issue Apr 19, 2023 · 4 comments

Comments

@kuzarandom
Copy link

kuzarandom commented Apr 19, 2023

pls. someone can help me disable the cluster on map

@miallo
Copy link
Contributor

miallo commented Apr 20, 2023

I don't think this is supported right now - in the original (unmaintained) repo from which the html in this fork generated the useMarkerClustering is by default set to true, but this prop is not forwarded anywhere.

Right now in my company we are drastically simplifying this library and throwing things like the marker clustering out, because we don't need it and it caused us issues anyways... @orangecms or I can ping you once we have it in a working shape and published it if you want.

@johnsan96
Copy link

oh really? Im currently working on a project that needs a leaflet map with clustering. Will I able to use the clustering when its thrown out?

@miallo
Copy link
Contributor

miallo commented Apr 28, 2023

@johnsan96 So far the idea was not to change this project, but to create another one that is drastically stripped down (also concerning features) to make the maintenance easier. So if this library works fine for you, there is absolutely no reason to change it and you can continue using it ;)

@caydey
Copy link

caydey commented Mar 3, 2024

If your looking for a quick "hacky" fix, what I done was modified android/src/main/assets/leaflet.html by replacing maxClusterRadius:80 with maxClusterRadius:-1

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

No branches or pull requests

4 participants