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

getMap and AutoComplete setCountry android

getMap needs old gms playService but setCountry("") needs new gms playservice version. How to use both of them in the Same Application?? supportMapFragment = (SupportMapFragment) getSupportFragmentManager() …
0
votes
1 answer

how to get the value from placepicker while selecting on suggestion

I am getting stuck on this i want to get alert the whole value when user click with mouse suppose now i enter perston here when i click on first suggestion then it alert only perston. I don't know what i am doing wrong here is the screenshot. I want…
kunal
  • 4,122
  • 12
  • 40
  • 75
0
votes
1 answer

Xamarin.iOS Can I use PlacePicker in my iOS application

how can I implement PlacePicker in my project as I can this doable in iOS native by implement this code @IBAction func pickPlace(_ sender: UIButton) { let config = GMSPlacePickerConfig(viewport: nil) let placePicker = GMSPlacePicker(config:…
Mina Fawzy
  • 20,852
  • 17
  • 133
  • 156
0
votes
0 answers

Error/Crash while using GMSPlacePicker pickPlaceWithCallback in Objc

This error is crashing the app while trying to use GMSPlacePicker in objC 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]' The app is crashed at…
Asha Antony
  • 441
  • 5
  • 8
0
votes
1 answer

get stored LatLng to show location on map when clicked

I am using Android PlacePicker to store a location's latitude and longitude in my Firebase Database using the place.getLatLng(); method. I also stored the location's name using the place.getName(); method. the Name of the location is visible in the…
0
votes
1 answer

Changing View Controller After Google Place Picker

Does anyone know how to go to a different view controller after selecting a place in Google Place Picker other than the one that called the place picker?
Kevin Gregory
  • 89
  • 1
  • 11
0
votes
0 answers

GMSPlacePicker pickPlace method crash in simulator swift

I have a problem with Place Picker in my simulator. it is crashing with *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil…
Hellen S
  • 1
  • 1
  • 2
0
votes
0 answers

Place Picker starts at LatLng(0,0)

I'm playing around with Google's PlacePicker an until yesterday everything worked fine and the starting location was automatically my physical location. Today i was trying to modify the initial position with setLatLng() and my PlacePicker started to…
Davide Valiante
  • 155
  • 2
  • 12
0
votes
1 answer

Android: Google PlacePicker Widget How to prevent user choosing unknown location?

I have added Google Places API and use a Place Picker Widget. Is it possible to prevent users to select unknown locations which are not available in Google places database ? Currently, the widget allow users to choose any point on the map including…
Aung
  • 253
  • 1
  • 5
  • 15
0
votes
1 answer

Showing particular area in google PlacePicker

I am working on an android application which requires user to select his/her location. I am using Google's PlacePikcer API to do so. It is working fine, but I want to show a particular area when I click on PlacePicker button. For example when I…
Prateek Paliwal
  • 323
  • 1
  • 10
0
votes
1 answer

Android Google Place Picker: no nearby places until map pan

When the place picker launches, there is a 3-5 second long loading circle animation next to where the nearby places list should appear. After the loading circle disappears, no nearby places are shown in the list, and no nearby places pins are shown…
0
votes
1 answer

Android, Can't get a position that's not a place in google maps using PlacePicker

after choosing random postion that's not a place in Google Maps using PlacePicker (https://developers.google.com/places/android-api/placepicker), i used compile 'com.google.android.gms:play-services-places:9.4.0' the confirmation button is always…
user5006087
0
votes
1 answer

How to take screenshot of selected location using PlacePicker ui widget of android

I am using android PlacePicker ui widget in my app. I am able to get the coordinates of selected location. My requirement is also to take screenshot of the selected location. There is no api in PlacePicket widget for screeenshot but GoogleMap api…
0
votes
1 answer

Is it possible to not take over screen? Google Places IOS swift

Below codes from Google only return a place if I pick one from the list like the one I attached. My question: Is there any function available for me to store all the place's detail in a given coordinate? For example, if I have a coordinate of…
Pak Ho Cheung
  • 1,382
  • 6
  • 22
  • 52
0
votes
1 answer

Place Picker automatically closing despite the (("com.google.android.geo.API_KEY")) in manifests

I am developing travel application. In Main Activity My app has one Google map and uses Google API . And I want use the Place Picker at other Activity. But Place picker closes immediately ((Famous Problem)). I change My Manifest but It did't…
Sobhan Moradi
  • 529
  • 5
  • 17