fix(map): Only show marker if we have it's position
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
8dcb76c30d
commit
f0cc5ffb8f
@ -19,6 +19,7 @@
|
|||||||
:zoomOutTitle="$t('Zoom out')"
|
:zoomOutTitle="$t('Zoom out')"
|
||||||
></l-control-zoom>
|
></l-control-zoom>
|
||||||
<l-marker
|
<l-marker
|
||||||
|
v-if="lat && lon"
|
||||||
:lat-lng="[lat, lon]"
|
:lat-lng="[lat, lon]"
|
||||||
@add="openPopup"
|
@add="openPopup"
|
||||||
@update:latLng="updateDraggableMarkerPositionDebounced"
|
@update:latLng="updateDraggableMarkerPositionDebounced"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user