Skip to content

Commit

Permalink
- CHG: Try to increase map performance by starting map zoomed out all…
Browse files Browse the repository at this point in the history
… the way.
  • Loading branch information
sebastian-raubach committed May 10, 2024
1 parent a9f75a6 commit 2e3c99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MultiLocationMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export default {
this.map = L.map(this.$refs.imageMap)
const center = [32, 32]
this.map.setView(center, 5)
this.map.setView(center, 1)
// Add OSM as the default
this.themeLayer = L.tileLayer(`//services.arcgisonline.com/arcgis/rest/services/Canvas/${this.storeTheme === 'fricklDark' ? 'World_Dark_Gray_Base' : 'World_Light_Gray_Base'}/MapServer/tile/{z}/{y}/{x}`, {
Expand Down

0 comments on commit 2e3c99e

Please sign in to comment.