Skip to content

Commit

Permalink
Rename map vars
Browse files Browse the repository at this point in the history
  • Loading branch information
jlpereira committed May 9, 2023
1 parent 99d75b4 commit d1d4682
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/Map/VMap.client.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -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
})
}
Expand Down

0 comments on commit d1d4682

Please sign in to comment.