-
Notifications
You must be signed in to change notification settings - Fork 32
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
Not possible to recover layerID as in leaflet #77
Comments
Do you have a small reprex? |
Hi ! thanks for the quick reply,
|
@ischlo yeah, its a bit confusing. |
@trafficonese should we align this with leaflet? |
Good question.. Leaflet emits events with the following categories: I'm thinking that it could maybe be useful to have the glify events handled differently, especially if one has a map with multiple layers where only 1 is a LeafGL layer. |
I see, it makes sense now! and , yes, it probably makes sense to have it as separate event. I just did not notice it in the docs. |
Agreed. We should make it clearer in the docs. Would you have time for this @trafficonese ? |
Hello,
I used your package for rendering a relatively big data set of polygons (12k) and it's impressive how faster and more fluid it is, so thanks for that !
I was wondering if the layerId are passed on with the shapes as well. In my shiny app, I use the layerID when a shape is clicked on. While the popups work as expected, I could not get the layerIDs as with the regular leaflet functions.
Thanks in advance,
Best,
The text was updated successfully, but these errors were encountered: