-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Currently the coordinates for a geo-circle are automatically calculated on save based on the coordinates of the activists in that circle.
The activists table has lat/lng columns, but they are currently never updated automatically. This should ideally happen whenever an activist is saved IF they are a chapter member or organizer and their address, city, state, or zip code is changed.
The Google Places API should be used to perform the geocoding. We already have an API key set in prod:
Line 67 in 49f2d38
| GooglePlacesAPIKey = mustGetenv("GOOGLE_PLACES_API_KEY", "", false) |
Additionally, it would be nice to get the coords for Chapters on-save based on their city name & country so that users (the international coordination working group) do not have to manually find and enter them.
Metadata
Metadata
Assignees
Labels
No labels