-
Notifications
You must be signed in to change notification settings - Fork 38
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 approach missing leaflet functions #158
Comments
+1 from me for more functionality, especially added events :)
Warwick
…On 4 August 2017 at 10:51, basisbit ***@***.***> wrote:
the current v-leaflet implementation is hiding / not implementing bunch of
leaflet functions (like map.eachLayer, map.fitBounds and others).
I'd like to implement these missing features. What do you think about
extending this vaadin plugin by so many additional function? Would you
rather prefer having this as lightweight as it is right now or are you ok
with all these additional functions?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#158>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGlkcBSh3l8eJiP_prtsjwZnL2Hqhbirks5sUumLgaJpZM4Otgls>
.
--
This message may contain confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system.
|
The "missing" leaflet functions you mentioned are already supported.
You have org.vaadin.addon.leaflet.LMap#iterator to go through each layer of the map.
There's the org.vaadin.addon.leaflet.LMap#zoomToExtent(org.vaadin.addon.leaflet.shared.Bounds) method to set a map view that contains the given geographical bounds. |
@octavm maybe the examples I mentioned can already be somewhat solved for some cases, but that does not help regarding this issue at all. This issue is about how to approach missing functions, which are implemented in leaflet API, but are not available in v-leaflet on the Java side. |
@basisbit So what are you actually after for? Instructions how to add new features? Ideally it should go like this:
|
the current v-leaflet implementation is hiding / not implementing bunch of leaflet functions (like map.eachLayer, map.fitBounds and others).
I'd like to implement these missing features. What do you think about extending this vaadin plugin by so many additional function? Would you rather prefer having this as lightweight as it is right now or are you ok with all these additional functions?
The text was updated successfully, but these errors were encountered: