fysoul17 / google_maps_place_picker

Place picker on Google Maps for Flutter
MIT License
224 stars 367 forks source link

Need way to change the text in the button #32

Closed Katekko closed 4 years ago

Katekko commented 4 years ago

Very nice lib, congratz

I have some questions:

Is there any way to change the "SELECT HERE" to another text?

You can show us how the billing will work with your lib? How many request it does?

The region parameter don't work. image

You need pass to the map url my region. I think you are not passing by

fysoul17 commented 4 years ago

Hi, @Katekko

  1. You can customize "select here" including whole floating card stuff as documented here.

  2. The primary goal is to reduce google map API calls as much as I can. It will consume 1 call per each functionality. (Autocomplete search, get a place by camera movement, etc). See here for google API pricing.

  3. Find out which region code you can use here. I think you might want to use 'pt-BR'.

Katekko commented 4 years ago

Nice... All fine.

But about the region, I guess you are talking about languages, it's a bit diferente from region.

image

For example, when I select the region BR, the final "Brazil" on search will be supress.

fysoul17 commented 4 years ago

There is 'autocompleteLanguage' parameter you can pass in. More information on the ReadMe.

fysoul17 commented 4 years ago

Closing as there is no further update.