Skip to content

v1.0.1 Simplifiy events and add Controls to Vue2Leaflet

Compare
Choose a tag to compare
@KoRiGaN KoRiGaN released this 27 Mar 15:14
· 827 commits to master since this release

⚠️ Breaking changes from v1.x.x to v0.x.x ⚠️

A new major release v1.x.x is available and come with some breaking changes.

❗ Components names

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).

❗ Events names

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'.

✨ Leaflet Controls

v1.0.0 introduces Leaflet Controls you can now use them using LControlAttribution, LControlLayers, LControlScale and LControlZoom.