Files
OTM/src/template/module/journey/map.pug
sora 803dd84858
All checks were successful
continuous-integration/drone/push Build is passing
dev merge (#163)
Co-authored-by: soraefir
Co-authored-by: sora-ext
Reviewed-on: #163
2025-03-05 00:11:11 +01:00

23 lines
675 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
:style="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="edit_active")
include map/right_menu.pug