Skip to content

query results in server by distance to geo location #11

@lastlink

Description

@lastlink

right now website pulls full park results
then filters on the client(browser)

server side should support passing in long/lat & distance & only give back results in the distance

other solution would be to only request the parks once (don't store to local membory just a global json object) and use this each time for filtering & call the rest api only once per page refresh.
Parks don't change very often.
Less hits to server also faster b/c just refilting what's already on the browser.

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