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 keep spider markers showing after clicking away #178

Closed
aharpervc opened this issue May 25, 2023 · 3 comments
Closed

How to keep spider markers showing after clicking away #178

aharpervc opened this issue May 25, 2023 · 3 comments

Comments

@aharpervc
Copy link

Hello & thanks for this library, it's a great improvement on the default maps/cluster behavior.

I'm curious how I can keep the spidering "open" even when clicking away from a marker. Currently when clicking a spiderfied marker (or clicking away from the markers onto the map) the spiderfication will "close" back to a single marker. I'd prefer it stay spiderfied (and ideally be spiderfied by default rather than than clicking to open).

I'm unsure how to do that. Thoughts?

@aharpervc
Copy link
Author

aharpervc commented May 25, 2023

Of course right when I post this question I see this in the readme... 🤦‍♂️

keepSpiderfied (default: false)

&

ignoreMapClick (default: false)

So maybe my only remaining question is about pre-opening the spiderfications?

@jawj
Copy link
Owner

jawj commented May 26, 2023

So maybe my only remaining question is about pre-opening the spiderfications?

This is a much-requested feature (see issue #2), but unfortunately the way the library works means it's not really possible.

@aharpervc
Copy link
Author

Gotcha. Thanks for clarifying! Not being able to pre-open isn't a dealbreaker anyway.

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

2 participants