File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -131,3 +131,9 @@ Wrapper for [Leaflet-Semicircle](https://github.com/jieter/Leaflet-semicircle).
131
131
Wrapper for [ FreeDraw] ( https://github.com/Wildhoney/Leaflet.FreeDraw )
132
132
133
133
> Allows drawing shapes on the map and retrieve those shapes as a list of polygons.
134
+
135
+ ## [ vue2-leaflet-ruler] ( https://github.com/panbak/vue2-leaflet-ruler )
136
+
137
+ Wrapper for [ Leaflet-Ruler] ( https://github.com/gokertanrisever/leaflet-ruler )
138
+
139
+ > Allows measuring distance and angle on the map.
Original file line number Diff line number Diff line change @@ -27,9 +27,7 @@ export default {
27
27
DomEvent .on (this .mapObject , this .$listeners );
28
28
this .ready = true ;
29
29
this .parentContainer = findRealParent (this .$parent );
30
- if (this .visible ) {
31
- this .parentContainer .addLayer (this );
32
- }
30
+ this .parentContainer .addLayer (this , ! this .visible );
33
31
this .$nextTick (() => {
34
32
/**
35
33
* Triggers when the component is ready
You can’t perform that action at this time.
0 commit comments