Questions tagged [gmsplacepicker]

Use this tag for questions related to the GMSPlacePicker class as provided in the Google Maps SDK for iOS.

80 questions
0
votes
0 answers

cannot access zzbgl class file for com.google.android.gms.internal.zzbgl not found

I want to use places api(new one).and when ever i sync gradle with the latest places api dependency it gives this error.Below is my code if any one can have a look and tell me if my versions are in correct and help me as it's been 3 days and i am…
0
votes
0 answers

Change bar button color of navigation bar in GMSPlacePickerViewController

I want to change the color of cancel and search icon in GMSPlacePickerViewController navigation bar. I tried changing the background color to test but it isn't working. func textFieldDidBeginEditing(_ textField: UITextField) { let config =…
0
votes
1 answer

I don't see map while using GMSPlacePickerViewController IOS

Image of my screen I want to show a map with place picker. I create needed APIs and I added them in my AppDelegate.m. Then I implemented this code in my view controller: - (void)location { GMSPlacePickerConfig *config = [[GMSPlacePickerConfig…
Justyna J
  • 1
  • 2
0
votes
1 answer

Update map fragment each time i change location on PlacePicker

I am making an app with a bottom navigation view, on my home page i am using a map fragment to show my location with a blue circle of 2 km around it. i want to use a placepicker inside my activity so that whenever i change my location on placepicker…
Jimmy
  • 87
  • 2
  • 9
0
votes
1 answer

Launch Google Place Picker Within Fragment

Is it possible to have Google's Place Picker display within a fragment on a page such that the place picker only takes up a small portion of the space rather than being full screen? The place picker seems like the perfect tool that I need, however I…
0
votes
2 answers

Opening PlacePicker on SearchView single click

I'm using SearchView as below in my code : xml :
0
votes
0 answers

How to get Timezone from GMS placepicker on iOS?

I'm using GMS place picker in my iOS application. It works fine. It picks the correct location but how can I get the timezone for the selected location?
Faris Muhammed
  • 970
  • 13
  • 17
0
votes
1 answer

PlacePicker get device position and selected place for distance and time road

I add the PlacePicker widget to my application and now i'm able to get selected location latitude and longitude. With this code: public class TravelFragment extends Fragment { int PLACE_PICKER_REQUEST = 1; TextView lat; TextView lng; …
Dario
  • 732
  • 7
  • 30
0
votes
1 answer

how to calculate distance from two point, point A is user location, and point B is Placepicker.getlatlang()

{ @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { if (requestCode == Place_Picker_Request){ place_Picket = PlacePicker.getPlace(data,this); String nama =…
0
votes
1 answer

Loop over an API request updating the URL

I am working with the GoogleMaps API, this returns 20 nearby locations and up to 60 locations can be returned. The locations are returned with a nextPageToken which allows you to GET the next page of results (20 per page). I am trying to loop…
sam_smith
  • 6,023
  • 3
  • 43
  • 60
0
votes
2 answers

Map is launching and immediately closing in other android studio app but same app is working in my android studio

I enabled Google Places API for Android in google console and put the API key in manifest file in my activity …
manjari
  • 183
  • 1
  • 14
0
votes
1 answer

How can I get the current placepicker location?

I want to alert the selected location but it is not alerting anything:
peace_love
  • 6,229
  • 11
  • 69
  • 157
0
votes
1 answer

Can I restrict PlacePicker control of Android to a Particular country?

I am using latest Place Picker control which Android provides. It's really easy to use. Now, the questions are: Can I restrict the searching area to India only? Can I change the default marker icon which resides in the PlacePicker control? NOTE:…
0
votes
1 answer

NullPointerException while invoking PlacePicker

Gradle Dependency: compile "com.google.android.gms:play-services-location:11.0.0" compile "com.google.android.gms:play-services-places:11.0.0" Menifest: . .
S Haque
  • 6,881
  • 5
  • 29
  • 35
0
votes
1 answer

how to use place_changed event of placekicker of google api?

I have almost done but i am facing one problem here is my problem :- I have successfully implement the placekicker with uk country only. Here is my code:- Input location here:
user7925057