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 113
113
<l-control-layers
114
114
:position =" layersPosition"
115
115
:collapsed =" false"
116
- :sortLayers =" true"
117
- />
116
+ :sort-layers =" true"
117
+ />
118
118
<l-tile-layer
119
119
v-for =" tileProvider in tileProviders"
120
120
:key =" tileProvider.name"
134
134
:key =" marker.id"
135
135
:visible =" marker.visible"
136
136
:draggable =" marker.draggable"
137
- :lat-lng =" marker.position"
137
+ :lat-lng.sync =" marker.position"
138
138
:icon =" marker.icon"
139
139
@click =" alert(marker)" >
140
140
<l-popup :content =" marker.tooltip" />
@@ -266,7 +266,7 @@ export default {
266
266
center: [51.505 , - 0.09 ],
267
267
opacity: 0.6 ,
268
268
token: ' your token if using mapbox' ,
269
- mapOptions: { zoomControl: false , attributionControl: false },
269
+ mapOptions: { zoomControl: false , attributionControl: false , zoomSnap : true },
270
270
zoom: 13 ,
271
271
minZoom: 1 ,
272
272
maxZoom: 20 ,
You can’t perform that action at this time.
0 commit comments