Merge branch 'ADBRimoFcp/add-fcp-map' into 'master'

fix: fixed map crop

See merge request fronk/thetool!1181
This commit is contained in:
Luca Haid
2025-04-08 09:49:06 +00:00
+2 -2
View File
@@ -29,8 +29,8 @@ Vue.component('tt-map', {
}, },
mapConfig() { mapConfig() {
const defaults = { const defaults = {
center: [47.0707, 15.4395], center: [46.9, 15.4995],
zoom: 13, zoom: 11,
mapboxKey: window.TT_CONFIG?.MAPBOX_KEY, mapboxKey: window.TT_CONFIG?.MAPBOX_KEY,
streetsTileUrl: 'https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}', streetsTileUrl: 'https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token={accessToken}',
streetsTileId: 'mapbox/streets-v11', streetsTileId: 'mapbox/streets-v11',