Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: create geocoding function #14

Closed
wants to merge 8 commits into from
Closed

Conversation

ethanzitting
Copy link
Collaborator

closes #7

@ethanzitting ethanzitting marked this pull request as ready for review January 17, 2022 19:28
src/config.ts Outdated Show resolved Hide resolved
src/utils.ts Outdated
@@ -7,3 +10,22 @@ export function parseNumber(str?: string): number | undefined {
export function _throw(msg: string): never {
throw msg;
}

export async function getCoordsFromAddress(address: string): Promise<any> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to write a return type for this function. using any is a bad idea. For now you could probably just add an interface ICoords that lives next to this function.

@ethanzitting ethanzitting changed the title wip: create rough draft geocoding function feat: create geocoding function Jan 18, 2022
@ethanzitting ethanzitting marked this pull request as draft January 24, 2022 23:21
@ethanzitting ethanzitting self-assigned this Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Function to take in address and get back coordinates
2 participants