LocationPickerActivity.SEARCH_ZONE not working!!!
See original GitHub issueI want to show the LocationPickerActivity to only display place searches and location results within UAE. I tried to set SEARCH ZONE as mentioned below.
Intent placePickerIntent = new Intent(this, LocationPickerActivity.class);
placePickerIntent.putExtra(LocationPickerActivity.SEARCH_ZONE, "ar_AE");
placePickerIntent.putExtra(LocationPickerActivity.BACK_PRESSED_RETURN_OK, true);
startActivityForResult(placePickerIntent, PLACE_PICKER_REQUEST);
But is not working. Instead of showing the results within UAE, t is showing the rresults from all around. Please help.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Search places not searching all over the world search zone ...
I am starting LocationPickerActivity as follows: Intent intent =... ... Search places not searching all over the world search zone not ...
Read more >ahaverty / Leku Download - JitPack
Location picker component for Android. It returns a latitude, longitude and an address based on the location picked in the LocationPickerActivity provided.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@sprengerst ok, I’ve updated the PR #108 with DACH Region. 😉
@ashaantony @sprengerst to improve this we can add the UAE or whatever region rect coordinates we would like in the CountryLocaleRect.java class for now. In a future release we could parametrize that to inject your desired zone when instantiating the LocationPickerActivity.
I’m going to add the coordinates and create a release. 😉