Closed fouadkada closed 4 years ago
Hi @fouadkada , I'm afraid that if you're using an en_US locale it will use that locale because it's always using your device locale. That part of the documentation refers to that is only applicable when you are using the search zone rect option. If you want to search only on a zone you must use use the locale of the country where you are in your device or override it with use these options:
.withSearchZone("es_ES")
.withSearchZone(SearchZoneRect(LatLng(26.525467, -18.910366), LatLng(43.906271, 5.394197)))
Hi @ferranpons
Thanks a lot. it makes sense now.
Is the search places API included in this project? like for example search for businesses, points of interests, street names? I understand that this feature might result in additional charges from google APIs.
Thanks
@fouadkada you're welcome!
Google Places API is included but is optional, and sure it will result in additional charges from Google. You could activate it with:
.withGooglePlacesEnabled()
😉
@ferranpons Thanks again 👍
The documentation states the following:
I am starting LocationPickerActivity as follows:
In my Manifest file I have the following:
I also made sure to enable Google Places API in the google developer console.
However when the LocationPickerActivity starts and I search in the search box, I only get results in the USA & Canada because my device's locale is en_US.
What am I missing?
the library dependencies: