Closed paul-rinaldi closed 3 years ago
Describe the bug Map on services page starts in San Francisco until a location is clicked
To Reproduce Steps to reproduce the behavior:
Expected behavior When the services page loads, the map should look over WI or MKE County
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Use google-maps-react docs and center map on MKE (lat, lng) 43.0389° N, 87.9065° W
https://github.com/codeformilwaukee/DECARCERATION-PLATFORM/blob/4ad93d48eb1dbecfecc25688e6810964ed1a0be3/web-app/src/components/ServicesPage/index.js#L174
Try this
initialCenter={{ lat: 43.0389, lng: -87.9065 }}
Worked @finnegan28 , much appreciated :D
Describe the bug Map on services page starts in San Francisco until a location is clicked
To Reproduce Steps to reproduce the behavior:
Expected behavior When the services page loads, the map should look over WI or MKE County
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Use google-maps-react docs and center map on MKE (lat, lng) 43.0389° N, 87.9065° W