diff --git a/src/components/Map/VMap.client.vue b/src/components/Map/VMap.client.vue index 4a09878..307ec37 100644 --- a/src/components/Map/VMap.client.vue +++ b/src/components/Map/VMap.client.vue @@ -24,7 +24,7 @@ L.Icon.Default.mergeOptions({ shadowUrl: shadowUrl }) -const { map_server_tils } = __APP_ENV__ +const { map_tile_server, map_tile_attribution } = __APP_ENV__ const props = defineProps({ controls: { @@ -101,9 +101,10 @@ let geoJSONGroup const leafletMap = ref(null) const tiles = { - osm: L.tileLayer(map_server_tils, { + osm: L.tileLayer(map_tile_server, { maxZoom: 18, - className: 'map-tiles' + className: 'map-tiles', + attribution: map_tile_attribution }) } diff --git a/src/modules/otus/views/Index.vue b/src/modules/otus/views/Index.vue index f990b35..d7436bb 100644 --- a/src/modules/otus/views/Index.vue +++ b/src/modules/otus/views/Index.vue @@ -5,10 +5,10 @@