Skip to content

Commit

Permalink
Merge pull request #1130 from kartoza/fix/1109-max-zoom
Browse files Browse the repository at this point in the history
Increase max zoom level
  • Loading branch information
tinashechiraya authored Oct 24, 2024
2 parents 1c439c6 + 20724b8 commit 5eee7bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions django_project/minisass_frontend/src/components/Map/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const initialMapConfig = {
style: [],
zoom: 5.3695883239884745,
attributionControl: false,
maxZoom: 17,
maxZoom: 24,
};

/**
Expand Down Expand Up @@ -94,7 +94,7 @@ export const Map = forwardRef((props: Interface, ref) => {
center: [longitude, latitude],
zoom: 5.3695883239884745,
attributionControl: false,
maxZoom: 17
maxZoom: 24
}
).addControl(
new maplibregl.AttributionControl({ compact: true })
Expand Down Expand Up @@ -300,7 +300,7 @@ export const Map = forwardRef((props: Interface, ref) => {

mapInstance.flyTo({
center: [longitude, latitude],
zoom: 17,
zoom: 24,
essential: true
});
};
Expand Down

0 comments on commit 5eee7bc

Please sign in to comment.