Files
OTM/src/template/module/journey/map.pug
soraefir a2303c215e
All checks were successful
continuous-integration/drone/push Build is passing
wip
2025-03-13 01:01:17 +01:00

27 lines
804 B
Plaintext

l-map(
:zoom.sync="journey.leg_get().map.zoom"
:center.sync="journey.leg_get().map.center"
@click="onMapClick"
style="height:100%"
no-blocking-animations=true
:max-bounds="[[-90, -180],[90, 180]]"
:max-bounds-viscosity="1.0"
:world-copy-jump="true"
:no-wrap="true"
:style="search_drawer.query.addmarker?'cursor:crosshair':''"
ref="map"
)
l-tile-layer(
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
attribution="© <a href=\"http://osm.org/copyright\">OpenStreetMap</a> contributors"
)
l-control-scale(position="bottomleft" :imperial="false" :metric="true")
include map/override.pug
include map/hotel.pug
include map/activities.pug
include map/restaurants.pug
include map/travel.pug
template(v-if="journey.edit")
include map/right_menu.pug