nique toi
All checks were successful
Build Docker Image Front / run (pull_request) Successful in 2m10s
Build Docker Image Back / run (pull_request) Successful in 23s
JsDocs / coverage (pull_request) Successful in 25s
Test and coverage / coverage (pull_request) Successful in 1m20s

This commit is contained in:
Clement 2024-06-07 18:46:31 +02:00
parent 81b3b8bc2a
commit 99fb66113d

View File

@ -25,12 +25,12 @@ const metadata = {
</Layout>
<script>
import L from 'leaflet'
import * as L from 'leaflet'
import markerShadow from "leaflet/dist/images/marker-shadow.png"
import markerIcon from "leaflet/dist/images/marker-icon.png"
import 'leaflet-routing-machine/dist/leaflet-routing-machine.js'
import 'leaflet-control-geocoder/dist/Control.Geocoder.js'
const icon = {icon: new L.Icon({iconUrl: markerIcon.src, shadowUrl: markerShadow.src, iconAnchor: [13,41]})}
// declare map
@ -57,7 +57,9 @@ const metadata = {
// L.latLng(47.218536, -1.554075)
// ],
routeWhileDragging: true,
//@ts-ignore
geocoder: L.Control.Geocoder.nominatim(),
//@ts-ignore
position: 'topleft',
showAlternatives: true,
reverseWaypoints: true,