You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What a fantastic implementation you have made! It was love at first sight for me.
I am requesting a feature for leaflet4vaadin
I installed leaflet4vaadin 0.4.0 as a dependency in my application.
I added a Marker to the leafletMap but it would not display. After a little research I concluded that the image/ directory was not included and have to be added manually.
Would it be possible to include the needed resources with the jar dependency so the jar will be a complete product?
If not could you document what must be included in addition to configuring Maven pom?
The text was updated successfully, but these errors were encountered:
Its says for Vaadin 14, and I can verify Vaadin 15, for SPRING-BOOT applications, you should put images here:
src\main\resources\META-INF\resources\images
Then you can refer to them like this new Icon("images/leaf-green.png").
Hope this helps.
(Also works with Vaadin 17.0.11)
Jim
The problem is however not where I should place the resources, but rather leaflet4vaadin not including them. The implementation is in place but not the marker image in particular. Think of it as buying a car and when you are about to put your kids in the back seat you notice it is completely missing :-)
I found a bunch of images elsewhere but I believe implementation and needed resources should be packaged together.
What a fantastic implementation you have made! It was love at first sight for me.
I am requesting a feature for leaflet4vaadin
I installed leaflet4vaadin 0.4.0 as a dependency in my application.
I added a Marker to the leafletMap but it would not display. After a little research I concluded that the image/ directory was not included and have to be added manually.
Would it be possible to include the needed resources with the jar dependency so the jar will be a complete product?
If not could you document what must be included in addition to configuring Maven pom?
The text was updated successfully, but these errors were encountered: