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

Add support for sending in lat/log measures to request #5

Open
jboarman opened this issue Dec 30, 2021 · 0 comments
Open

Add support for sending in lat/log measures to request #5

jboarman opened this issue Dec 30, 2021 · 0 comments

Comments

@jboarman
Copy link
Member

Currently, we can query for N records within X miles of a postalCode.

However, it would be helpful to request matches nearest a lat/long so that a browser's location API can be used to source the end-users location center.

Using a Lat/Long Center

/nearest/{count}/{sourceType}/to/{latitude}/{longitude}/within/{miles}
or
/nearest/{count}/{sourceType}/to/{latitude_longitude}/within/{miles}

The format of the lat/long could either be as separate parameters or perhaps it needs to be in a single parameter formatted like (32.947560, -96.839760) if the route parser can't disambiguate between other route paths.

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

No branches or pull requests

1 participant