Vue 2 components for Leaflet maps
Huge thanks to everybody who put their effort in writing test, patching and enhancing the code
minor fix to emit the ready
event only inside nextTick
All the components now emit a ready event containing the leaflet mapObject
Special thanks to @bezany
.sync
modifier in markers lat-lng
propBig thanks to @bezany @HIMISOCOOL for the hard work and everyone else who contribute to this release.
This release contain a big refactor of the code an many addition.
No breaking changes aside some future deprecation warning.
While it has been tested with all the examples and working application it's important to point out that the codebase has been strongly mutated.
Feel free to open any Issue if any bug / perplexity is found.
Marked as pre-release
A new major release v1.x.x is available and come with some breaking changes.
As some component where conflicting with reserved name like Circle with SVG Circle, from v1.x.x all components are prefixed with L.
For example Marker component became LMarker (l-marker in template).
Event handling have been simplified and are now mapped directly to Leaflet event.
For example Marker move event was 'l-move' and became simply 'move'.
v1.0.0 introduces Leaflet Controls you can now use them using LControlAttribution, LControlLayers, LControlScale and LControlZoom.