Skip to content

Featured parsed inside <MultiGeometry> elements don't bind the correct placemark popup information. #7 #8

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

Closed
wants to merge 2 commits into from

Conversation

Sam152
Copy link
Contributor

@Sam152 Sam152 commented Nov 20, 2019

No description provided.

@Sam152
Copy link
Contributor Author

Sam152 commented Nov 20, 2019

I have pushed one additional change to this PR, instead of waiting for the 'add' event to fire, the popup is immediately bound to the feature. This allows the KML popups to work in conjunction with markercluster, when combined with the fix from: Leaflet/Leaflet.markercluster#970

I can't see any side effects of binding this early and I think overall it's probably helpful for any kind of external introspection of the KML layer before adding it to maps. Hopefully that's okay.

@Sam152 Sam152 closed this Nov 22, 2019
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.

1 participant