Questions tagged [gmsmapview]

This is the main class of the Google Maps SDK for iOS and is the entry point for all methods related to the map.

This is the main class of the Google Maps SDK for iOS and is the entry point for all methods related to the map.

Click Here for class reference.

332 questions
0
votes
2 answers

Current location is not shown perfectly in swift 3

I have a GMSMapView and want to show current location on GMSMapView. I have added bellow line in info.plist source code…
0
votes
1 answer

GoogleMaps old behaviour, when I tap a marker

I'm using xcode 9.0, GoogleMaps SDK 2.5.0 and GooglePlaces 2.5.0. In the method func mapView(_ mapView: GMSMapView, didTap marker: GMSMarker) -> Bool I'm trying to disable the auto center map, when I select a marker and go back to the old behaviour…
bruno
  • 2,154
  • 5
  • 39
  • 64
0
votes
1 answer

Convert GMSPanoramaView to UIImage?

For my application, I need to get a Google Street View image from gps coordinates. I know how to get a full screen GMSPanoramaView from coordinates, but I ultimately need it to be a UIImage. let panoView = GMSPanoramaView(frame: .zero) …
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

How to display map with previously dragged or moved position on map

I want to position a map to previously scrolled/dragged position not to user's location using GMSMapView Example - User's current location is xyz and then user moves/scrolls/drags map to abc location and navigate to some other screen, and when user…
0
votes
0 answers

Swift Google Maps does not delete polygons

I'm developing an app with Swift 3.0 and working with the Google Maps SDK. I arrived at the point that by clicking on the map I draw a polygon where at each vertex I add a marker. Like the image given below: What I want to do is when I move a…
0
votes
2 answers

Not able to add Multiple Markers in GSMapView xCode Swift 3

I am trying to add multiple Markers on Googlemaps in my app. In the viewcontrolller under viewDidLoad I am able to load the map and a single marker. override func viewDidLoad() { super.viewDidLoad() title = NSLocalizedString("section_map",…
0
votes
0 answers

"This feature is beta version" message display on map

I am using GMSMapView for map functionality. and it display "This feature is beta version" on map when run app in device. How to remove this message?
0
votes
1 answer

Touchbegan method not called

touchesBegan methods not called on GMSmapview.I was expecting this method to be called on touching or dragging map .can someone let me know whats wrong with this code #import "ViewController.h" @interface ViewController () @end @implementation…
tnishanth
  • 11
  • 3
0
votes
1 answer

Location Manager interrupting GMSMapView

I am facing a very unusual issue. Location manager is interrupting in GMSMapView functions. GMSCamera moves perfect when i comment my Location Manager init code. But when i uncomment location manager code this code doesn't moves the camera…
0
votes
0 answers

iOS swift3 google map SDK custom info window is not appearing

I am using google map to show custom info window. I added code in markerinfowindow delegate method & delegate method is being called. But the info window in not appearing. Please help me to solve this issue, any help will be appreciated. Thanks in…
arun rajesh
  • 181
  • 3
  • 16
0
votes
0 answers

UITextField doesn't respond on the google map?

I'm using google map in my iOS app. I have add GMSMapView and textfield on it but it cannot be touch.Following is my code: //UI OutletControls @IBOutlet weak var tableView: UITableView! @IBOutlet weak var mapView: GMSMapView! @IBOutlet weak var…
Anushka Madushan
  • 681
  • 2
  • 12
  • 31
0
votes
1 answer

New GMSMapView not working, but old GMSMapView loading properly

When I create a new GMSMapView it does not load. I have other GMSMapViews in my project that do load properly. I am using the storyboard editor to assign the custom subclass of GMSMapView to a UIView. Why are the new ones not working?
Derek Soike
  • 11,238
  • 3
  • 79
  • 74
0
votes
2 answers

How to draw GMSPolyline in MapView

I have create a map based app. Now Fetched PolyLine points by google direction api. But how to draw poly line with this GSMPath. I tried to many times but not draw polyLine in GMSMapView. How to draw please suggest. Which methods are use please…
user 12345
  • 23
  • 1
  • 8
0
votes
2 answers

Is using GMSMap reason for rejection?

My app uses GMSMap to show some locations on map and users can open Yandex Navi, Google Maps app and also Apple maps to navigate selected poi. Only installed apps are listed to build route. Somehow my app is rejected. They send me the following…
loloke
  • 23
  • 3