Questions tagged [google-maps-sdk-ios]

The new Google Maps SDK for iOS allows users to view and interact with a Google map in your iOS app.

The new Google Maps SDK for iOS allows users to view and interact with a Google map in your iOS app. With rotation, tilt, 3D buildings and many other features, you can create highly interactive apps for your users.

Google Maps SDK for iOS Documentation

1363 questions
13
votes
1 answer

Set a marker over all other markers in Google Maps SDK iOS

I'm trying to place a marker, but when I do it, this marker is placed behind of some markers set before (and over some others as well). I want to set it over all the markers, but I didn't find any property (like z-index) to achieve this. This is the…
jomafer
  • 2,655
  • 1
  • 32
  • 47
13
votes
2 answers

iOS google maps sdk GMSMarker positioning

I am working with Google maps and I am able to center the map to the GMSMarker by using GMSCameraPosition *camera = [[GMSCameraPosition alloc] initWithTarget:marker.position zoom:MAP_ZOOM_LEVEL …
Satheesh
  • 10,998
  • 6
  • 50
  • 93
13
votes
5 answers

How to add a button on the Google maps in iOS?

I am new to iOS Programming and I have downloaded the google maps sdk for iOS and followed the instruction on their website ( as shown in this link https://developers.google.com/maps/documentation/ios/start ) and was able to get the map in my…
Manas
  • 1,313
  • 3
  • 12
  • 16
13
votes
3 answers

How to display a circle in GMSMapView

I need to display a circle (as with MKCircle) on a GMSMapView. This is easy when using a MKMapView and MKCircle, but can't use MKCircle with GMSMapView. Any ideas? Update: This are the current(18.03.2013) options: 1. A ground marker containing a…
Bogus
  • 263
  • 1
  • 2
  • 11
13
votes
5 answers

iOS GoogleMaps SDK - animateToCameraPosition animation finished handler?

Currently I am using the GoogleMaps SDK for iOS for various operations. When calling [self.googleMapsView animateToCameraPosition:[GMSCameraPosition cameraWithLatitude:LATITUDE …
Robert Weindl
  • 1,092
  • 1
  • 10
  • 30
13
votes
3 answers

error unrecognized selector sent to class while adding Google Map SDK to iOS6

This is a single view application and I followed the instruction given at link https://developers.google.com/maps/documentation/ios/start for adding google map SDK to iOS6. ERROR Is: unrecognized selector sent to class 0xe2b0 2013-02-07…
mavericks
  • 1,589
  • 16
  • 24
12
votes
1 answer

How do i animate GMSPolyline in google maps ios

I was using google maps SDK and I have to draw polyline when user moves, currently it just animates the marker only, path drawn before pin moves to specific location. I have to draw path and move pin at same time. Check this video :…
Leojin Bose
  • 161
  • 1
  • 9
12
votes
5 answers

Google Maps 1.10.1 iOS with cocoapods giving duplicate symbol error

I am trying to integrate the new GoogleMaps sdk 1.10.1 and I followed the quick start from https://developers.google.com/maps/documentation/ios/start But I am getting the following error and i got stuck with duplicate symbol error.…
user968597
  • 1,164
  • 2
  • 15
  • 30
12
votes
0 answers

How to draw a polyline with rounded ends using Google Maps iOS SDK?

I want to draw a polyline in Google Maps SDK for iOS but the ends of the line look pretty ugly to me. Is there a way I could smooth them out or round them off? I tried adding a GMSCircle to the end of the line but the circle gets zoomed in…
Balázs Vincze
  • 357
  • 1
  • 3
  • 14
12
votes
6 answers

Change Camera Zoom based on Radius Google Maps iOS SDK

I am working on an app that displays certain markers based on a radius around your current location. The radius is between 100 - 5000 meters. I change the radius with an UISlider and redraw the GMSCircle. My problem is that I want to update the…
Granit
  • 1,261
  • 6
  • 19
  • 35
12
votes
4 answers

Is there a Google Map event listener for panning or zooming map?

I want to be able to detect if the user has zoomed out or moved the map center. I have seen post about an event listener but in Javascript and I am trying to see if there is anything in the Google Maps iOS SDK similar to that. I see that iPad Yelp…
Chris
  • 1,004
  • 2
  • 11
  • 25
12
votes
5 answers

Google Maps iOS SDK - Add UIView/UIButton over a GMSMapView

I'm developing an iOS app with Google Maps iOS SDK with storyboard. On my main view controller in "viewDidLoad" I have implemented a GMSMapView and shows it by self.view = mapView_; and everything goes fine. Now I want to add a UIView or UIButton…
FabioM
  • 131
  • 1
  • 1
  • 5
12
votes
5 answers

Google Maps SDK for iOS doesn't display map content

I'm using the current version 1.1.2 of Google Maps SDK for iOS. The map only displays the Google logo, the current location and the added marker. But no map content whatsoever: I correctly registered the API key: BOOL result = [GMSServices…
Ortwin Gentz
  • 52,648
  • 24
  • 135
  • 213
12
votes
5 answers

Add buttons to view returned by markerInfoWindow delegate method

I'm currently creating and returning a custom view with the google maps ios SDK by setting delegate to self and using the following code. #pragma mark - GMSMapViewDelegate -(UIView*)mapView:(GMSMapView *)mapView…
ercmcd
  • 143
  • 1
  • 1
  • 9
11
votes
2 answers

IB Designables: Failed to render and update auto layout status for Google Maps

I'm using GoogleMaps Pod in my project. I have error in one of my Storyboard: error: IB Designables: Failed to render and update auto layout status for MapViewController: dlopen(GoogleMaps.framework, 1): no suitable image found. Did find: …
Prettygeek
  • 2,461
  • 3
  • 22
  • 44