GMSPlace encapsulates information about a physical location, including its name, location, and any other information we might have about it. This class is immutable. Its component of Google Map API.
Questions tagged [gmsplace]
33 questions
1
vote
1 answer
UI Offset within GMSPlacePickerViewController
I have implemented a GMSPlacesClient and GMSPlacePickerViewController, and the setup functions fine. However, there appears to be a vertical offset within the UI that creates an aesthetic issue: in search, the first item in the table is cut off, and…

Hersh Bhargava
- 615
- 4
- 19
1
vote
2 answers
Get searched places by GoogleApi to fill in tableview
I'v tried GMSPlacesClient but I couldn't get results in correct format to fill'em in tableView.
after that I used Fetcher but i didnt help me.
extension SearchViewController: GMSAutocompleteFetcherDelegate {
func didAutocomplete(with predictions:…

Sajjad.HS
- 381
- 2
- 8
- 19
1
vote
2 answers
passing Google Places data to UILabel
I am trying to pass data collected after selecting a place from GMSAutocompleteViewController, and having some issues. I am getting this error: Could not cast value of type 'NSTaggedPointerString' (0x1afeb5c50) to 'UILabel' (0x1afedd508). Not sure…

user3708224
- 1,229
- 4
- 19
- 37
1
vote
1 answer
GMSPlace - coordinate property missing - iOS SDK
In my iOS app, I have the Google Maps SDK and I am using a GMSPlacePicker to pick a place around specific coordinates like this:
//center is a CLLocationCoordinate2D
CLLocationCoordinate2D northEast = CLLocationCoordinate2DMake(center.latitude +…

Zigglzworth
- 6,645
- 9
- 68
- 107
0
votes
1 answer
GMSGeocoder gives Thread 5: EXC_BAD_ACCESS (code=1, address=0x0) in Notification service extension iOS
I want to use reverse Geocoding to get an address from a location coordinate inside my notification service extension.
But including this code.
GMSGeocoder().reverseGeocodeCoordinate(self.getLastSavedLocation().coordinate) { response, error in…

Aviharsh Shukla
- 143
- 3
- 12
0
votes
1 answer
GMSPath in swift Codable does not conform to protocol swift
I created a model and used codable with it. I am currently using GMSPath to get path, but on adding to the model class, I get the error Type 'EstimateResponse' does not conform to protocol 'Decodable' and Type 'EstimateResponse' does not conform…

King
- 1,885
- 3
- 27
- 84
0
votes
1 answer
How to initialize and customize a GMSPlace object
I want to initialize and customize a GMSPlace object, with a custom variable. I'm trying to do the below:
import Foundation
import GooglePlaces
func parseObject() {
let parsedGMS = GMSPlace()
parsedGMS.coordinate.latitude = 4.0
…

MhmdRizk
- 1,591
- 2
- 18
- 34
0
votes
1 answer
Swift: Can't seem to store the resulting place of the placesClient.currentPlace as the class property to use elsewhere
I'm pretty new to this, but I've been managing to stumble my way through to getting the current location of my IOS device...etc The only problem is, I can't seem to get the GMSPlace to stay assigned to the property I declared at the top of my class,…

JasonB
- 5
- 2
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
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
1 answer
How to use an IBAction to write data to Firebase
I'm having trouble figuring out how to write data to my Firebase Database through an IBAction.
My problem is not being able to write to the actual database, it's the type of data that is being written.
I need to write data using a Google Maps…

bwc
- 1,732
- 1
- 14
- 27
0
votes
1 answer
Unwrapping values swift
So I am having some issues with unwrapping and optionals. I am using Google Places and passing the place.formattedAddress value twice...first from the GMSAutocompleteViewController to a UIView to be displayed within a string. Then I want to pass the…

user3708224
- 1,229
- 4
- 19
- 37
0
votes
0 answers
Passing Google Places data
so I am trying to pass GMSPlace data from GooglePlaces to a UIView, and then from the UIView into Firebase. I am able to pass it into a String into the UIView ("text text...(value)...text text"), but then I want to pass just the value again to…

user3708224
- 1,229
- 4
- 19
- 37
0
votes
1 answer
Mark in google maps a list of addresses - Android or PHP
I have a list of addresses and I want to mark this places all in google maps(nearly 1k), getting maybe its cordinates to save them.
Actually I am not programming an app, but I know both lenguages (Android and PHP) and I think it is possible to do…

Diego Garcia
- 555
- 2
- 6
- 20
0
votes
1 answer
Android location changed interface
I have created a helper class where i have all the initialization of location google play services functions. When the onLocationChanged is called, i call an interface onLocationChangedFunction . However it is never calling the it due to null…

makis.k
- 432
- 6
- 23