Skip to content

Commit

Permalink
Merge pull request #38 from CUAHSI/adjust-max-map-zoom
Browse files Browse the repository at this point in the history
Adjust the maximum map zoom
  • Loading branch information
devincowan authored Dec 16, 2024
2 parents cff2b08 + 1256e7e commit c5a9b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/TheLeafletMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ onUpdated(() => {
})
onMounted(async () => {
let leaflet = L.map('mapContainer').setView([0, 11], 2);
let leaflet = L.map('mapContainer', {minZoom: 2}).setView([0, 11], 2);
mapStore.leaflet = leaflet;
let layerGroup = new L.LayerGroup();
mapStore.layerGroup = layerGroup;
Expand Down

0 comments on commit c5a9b5f

Please sign in to comment.