codeformilwaukee / codeformilwaukee/DECARCERATION-PLATFORM
Add lat lng to firestore on service provider documents so we don't have to always make an api call
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 19
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
Too many API calls
**Describe the solution you'd like**
Only call the geocode API when lat lng doesn't exist on the document.
Asynchronously store the lat lng on the document when the geocode API is called.
**Describe alternatives you've considered**
None
**Additional context**
Service Page, Index in Server/
Contributor guide
Assessment
This issue has not been assessed yet.