mstahv / v-leaflet

Leaflet add-on for Vaadin
Other
43 stars 38 forks source link

Make it possible to use zoomOffset #203

Open lightoze opened 5 years ago

lightoze commented 5 years ago

It is a necessary option with some tile providers to use 512px tiles. While it is possible to change tileSize via customOptions, for zoomOffset it does not work because leaflet expects numerical value instead of a string. Please consider either adding typed customOptions or exposing zoomOffset and zoomOffset.

octavm commented 5 years ago

Fixed and created a pull request to add zoomOffset and tileSize options.