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
Save extra data to marker (or layer) #58
Comments
You can extend Marker class and create a custom version. Then you can add either well typed api for properties you know or even expose a map like API if you really need that. |
Have you thought about using the |
@mstahv you're right. I wasn't paying attention, just now I noticed this is for g-leaflet. |
Yes, I'm using it in GWT application. I've changed my code so I don't need passing extra data anymore but good to know how to do that in the future. Thank you. |
It should be possible to add custom extra data to marker.
In original library we can do it just by passing key-value while creating marker object.
Is it possible to add this function to library?
The text was updated successfully, but these errors were encountered: