Browse Source

Update Map.tsx

changed the weirdly set default viewstate
pull/101/head
Benedikt 3 years ago
committed by GitHub
parent
commit
e59521fd98
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/pages/Map.tsx

6
src/pages/Map.tsx

@ -115,9 +115,9 @@ export const MapPage = (): JSX.Element => {
dragRotate={false} dragRotate={false}
touchZoomRotate={false} touchZoomRotate={false}
initialViewState={{ initialViewState={{
zoom: 10, zoom: 4,
latitude: -38, latitude: 0,
longitude: 145 longitude: 0
}} }}
> >
{waypoints.map((wp) => ( {waypoints.map((wp) => (

Loading…
Cancel
Save