Skip to content

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

@jboarman

Description

@jboarman

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions