Unverified Commit e43db373 authored by Culdred's avatar Culdred Committed by Nicolò Maria Mezzopera
Browse files

docs: fix draggable l-marker

parent 719fa644
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -6,19 +6,14 @@
      name="OpenStreetMap"
    ></l-tile-layer>

    <l-marker
      :lat-lng="[41.8329, -87.7327]"
      draggable
      @moveend="log('moveend')"
      :options="{ riseOnHover: true, riseOffset: 300 }"
    >
    <l-marker :lat-lng="[41.8329, -87.7327]">
      <l-popup>
        Hi! I'm staying here on this location!
      </l-popup>
    </l-marker>

    <l-layer-group>
      <l-marker :lat-lng="[41.75, -87.65]" draggable @moveend="log('moveend')">
      <l-marker :lat-lng="[41.75, -87.65]" draggable>
        <l-popup>
          Hi! You can drag me around!
        </l-popup>
+2 −7
Original line number Diff line number Diff line
@@ -6,19 +6,14 @@
      name="OpenStreetMap"
    ></l-tile-layer>

    <l-marker
      :lat-lng="[41.8329, -87.7327]"
      draggable
      @moveend="log('moveend')"
      :options="{ riseOnHover: true, riseOffset: 300 }"
    >
    <l-marker :lat-lng="[41.8329, -87.7327]">
      <l-tooltip>
        Hi! I'm staying here on this location!
      </l-tooltip>
    </l-marker>

    <l-layer-group>
      <l-marker :lat-lng="[41.75, -87.65]" draggable @moveend="log('moveend')">
      <l-marker :lat-lng="[41.75, -87.65]" draggable>
        <l-tooltip>
          Hi! You can drag me around!
        </l-tooltip>