Skip to content

Commit

Permalink
[Task] #77 increase maxZoom
Browse files Browse the repository at this point in the history
  • Loading branch information
Type-Style committed Sep 11, 2024
1 parent a606205 commit 94995b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/components/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function Map({ entries }: { entries: Models.IEntry[] }) {

return (
<div className="mapStyle" data-mui-color-scheme={mapStyle}>
<MapContainer className="mapContainer" center={[lastEntry.lat, lastEntry.lon]} zoom={13}>
<MapContainer className="mapContainer" center={[lastEntry.lat, lastEntry.lon]} zoom={13} maxZoom={19}>
<MapRecenter lat={lastEntry.lat} lon={lastEntry.lon} zoom={13} fly={true} />
<LayerChangeHandler />
<LayersControl position="bottomright">
Expand Down

0 comments on commit 94995b6

Please sign in to comment.