fix(front): fix map

Closes #1314

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-08-02 15:12:55 +02:00
parent 60aceb442a
commit 8f84ba1d08
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -2,7 +2,7 @@
<div class="map-container"> <div class="map-container">
<l-map <l-map
:zoom="mergedOptions.zoom" :zoom="mergedOptions.zoom"
:style="`height: ${mergedOptions.height}; width: ${mergedOptions.width}`" :style="{ height: mergedOptions.height, width: mergedOptions.width }"
class="leaflet-map" class="leaflet-map"
:center="[lat, lon]" :center="[lat, lon]"
@click="clickMap" @click="clickMap"