feat: use drink api in front and more #16
@ -25,7 +25,7 @@ const metadata = {
|
|||||||
</Layout>
|
</Layout>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import L from 'leaflet'
|
import * as L from 'leaflet'
|
||||||
import markerShadow from "leaflet/dist/images/marker-shadow.png"
|
import markerShadow from "leaflet/dist/images/marker-shadow.png"
|
||||||
import markerIcon from "leaflet/dist/images/marker-icon.png"
|
import markerIcon from "leaflet/dist/images/marker-icon.png"
|
||||||
import 'leaflet-routing-machine/dist/leaflet-routing-machine.js'
|
import 'leaflet-routing-machine/dist/leaflet-routing-machine.js'
|
||||||
@ -57,7 +57,9 @@ const metadata = {
|
|||||||
// L.latLng(47.218536, -1.554075)
|
// L.latLng(47.218536, -1.554075)
|
||||||
// ],
|
// ],
|
||||||
routeWhileDragging: true,
|
routeWhileDragging: true,
|
||||||
|
//@ts-ignore
|
||||||
geocoder: L.Control.Geocoder.nominatim(),
|
geocoder: L.Control.Geocoder.nominatim(),
|
||||||
|
//@ts-ignore
|
||||||
position: 'topleft',
|
position: 'topleft',
|
||||||
showAlternatives: true,
|
showAlternatives: true,
|
||||||
reverseWaypoints: true,
|
reverseWaypoints: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user