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
#96 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.