Skip to content

Commit

Permalink
chore: linting and enable sync on marker position
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolò Maria Mezzopera committed Nov 8, 2018
1 parent 7e5c557 commit 74490e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/src/components/Example.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@
<l-control-layers
:position="layersPosition"
:collapsed="false"
:sortLayers="true"
/>
:sort-layers="true"
/>
<l-tile-layer
v-for="tileProvider in tileProviders"
:key="tileProvider.name"
Expand All @@ -134,7 +134,7 @@
:key="marker.id"
:visible="marker.visible"
:draggable="marker.draggable"
:lat-lng="marker.position"
:lat-lng.sync="marker.position"
:icon="marker.icon"
@click="alert(marker)">
<l-popup :content="marker.tooltip" />
Expand Down Expand Up @@ -266,7 +266,7 @@ export default {
center: [51.505, -0.09],
opacity: 0.6,
token: 'your token if using mapbox',
mapOptions: { zoomControl: false, attributionControl: false },
mapOptions: { zoomControl: false, attributionControl: false, zoomSnap: true },
zoom: 13,
minZoom: 1,
maxZoom: 20,
Expand Down

0 comments on commit 74490e8

Please sign in to comment.