Browse Source
Update Map.tsx
changed the weirdly set default viewstate
pull/101/head
Benedikt
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
src/pages/Map.tsx
|
|
|
@ -115,9 +115,9 @@ export const MapPage = (): JSX.Element => { |
|
|
|
dragRotate={false} |
|
|
|
touchZoomRotate={false} |
|
|
|
initialViewState={{ |
|
|
|
zoom: 10, |
|
|
|
latitude: -38, |
|
|
|
longitude: 145 |
|
|
|
zoom: 4, |
|
|
|
latitude: 0, |
|
|
|
longitude: 0 |
|
|
|
}} |
|
|
|
> |
|
|
|
{waypoints.map((wp) => ( |
|
|
|
|