File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 113113 <l-control-layers
114114 :position =" layersPosition"
115115 :collapsed =" false"
116- :sortLayers =" true"
117- />
116+ :sort-layers =" true"
117+ />
118118 <l-tile-layer
119119 v-for =" tileProvider in tileProviders"
120120 :key =" tileProvider.name"
134134 :key =" marker.id"
135135 :visible =" marker.visible"
136136 :draggable =" marker.draggable"
137- :lat-lng =" marker.position"
137+ :lat-lng.sync =" marker.position"
138138 :icon =" marker.icon"
139139 @click =" alert(marker)" >
140140 <l-popup :content =" marker.tooltip" />
@@ -266,7 +266,7 @@ export default {
266266 center: [51.505 , - 0.09 ],
267267 opacity: 0.6 ,
268268 token: ' your token if using mapbox' ,
269- mapOptions: { zoomControl: false , attributionControl: false },
269+ mapOptions: { zoomControl: false , attributionControl: false , zoomSnap : true },
270270 zoom: 13 ,
271271 minZoom: 1 ,
272272 maxZoom: 20 ,
You can’t perform that action at this time.
0 commit comments