Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Add a Location Chooser to streamline query construction #9

Open
riordan opened this issue Nov 2, 2015 · 1 comment
Open

Add a Location Chooser to streamline query construction #9

riordan opened this issue Nov 2, 2015 · 1 comment

Comments

@riordan
Copy link

riordan commented Nov 2, 2015

Just like we bake the location of the api key into the query, we should also be able to do the same for a location (e.g. a city).

This can either be from a pre-baked list or the autocomplete coarse geocoder (when we make it [pelias/api#337]).

Ideal Features:

  • Easy to toggle on / off
  • Ability to activate location elements for each query type
    • e.g. search:
    • focus.point - centroid
    • focus.viewport - bbox
@riordan riordan added this to the Dependency Upgrades milestone Jan 21, 2016
@mariusbobo
Copy link

As a quick step forward, can this be just 2 form fields, lat/long, which default to current browser Geolocation API, and have these passed to URL and used in tests?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants