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

Add Search Bar to Jump to a Location #159

Open
juliaringler opened this issue Apr 28, 2020 · 1 comment
Open

Add Search Bar to Jump to a Location #159

juliaringler opened this issue Apr 28, 2020 · 1 comment
Assignees

Comments

@juliaringler
Copy link
Collaborator

juliaringler commented Apr 28, 2020

In most cases we will search at our current location, but if we e.g. book a ticket for our grandma, we want to jump there easily
Also have search propsals

@Johannes11833 Johannes11833 self-assigned this Apr 29, 2020
@Johannes11833
Copy link
Collaborator

@juliaringler , @ConstantinB9 , @LukkyLukke

So I took a look at 2 libraries that could help us implement this feature.

search_map_place needs access to the following 3 APIs:

  1. Places
  2. Geolocation
  3. Geocoding

Places is free, but Geolocation and Geocoding both cost 5$ per 1k requests.

Not sure about flutter_google_places, but it seems to need access to Geocoding (and maybe Geolocation as well). At least I am seeing the following error when searching for locations using our current API key with access to Places and Maps:

You have exceeded your daily request quota for this API. If you did not set a custom daily request quota, verify your project has an active billing account: http://g.co/dev/maps-no-account

You can check out a quick and dirty implementation (basically copied the libraries example code) using flutter_google_places here:

https://github.com/SafeMarket-WirVsVirus/frontend-enduser/tree/feature/location-search-bar

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

No branches or pull requests

2 participants