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
10
votes
9 answers

GoogleMaps basic iOS demo app crash - unrecognized selector sent to instance

Im trying to run the basic iOS demo SDK code. I have created the API keyand it loads ok. Although i've transfered the code from viewDidLoad to loadView the effect remains. See the following code -(void)loadView{ // Create a GMSCameraPosition…
okipol
  • 1,197
  • 3
  • 11
  • 27
10
votes
3 answers

Inverted Polygon in GMSMapView

I have to use Google Map for my iPhone project and I'am using GMSPolygon to draw a polygon but How can I fill everywhere on my map except the interior of the polygon. Like the image below. Thank You.
ethem
  • 201
  • 1
  • 6
10
votes
3 answers

Customize Google Maps blue dot for current location

I'm using a 2013 version of Google Maps SDK for iOS. I would like to customize the default blue dot for current location with another icon or pulsing circles around. I know we can do that with mapView:viewForAnnotation: in MKMapView, but I can't…
9
votes
3 answers

GoogleMaps SDK - Failed to load Info.plist

I'm following the instructions to manually install GoogleMaps and GooglePlaces SDKs (v3.0.3) and after dragging the frameworks, adding to the project target, and copying the bundle resources, the project successfully builds but fails to install on…
Raphael Oliveira
  • 7,751
  • 5
  • 47
  • 55
9
votes
1 answer

How to stop GMSMapView renderer?

I noticed a performance issue when using GMSMapView as part of my view hierarchy. Important note: the map doesn't take up the whole screen, it is used as a table view header. These issues affect the behaviour of the table view itself - low FPS,…
markvasiv
  • 522
  • 2
  • 16
9
votes
3 answers

'The 'Pods' target has transitive dependencies that include static binaries' when installing 'Google-Maps-iOS-Utils'

I am trying to install 'Google-Maps-iOS-Utils' but it gives me above error. Here is Podfile : platform :ios, '9.0' use_frameworks! target 'MapClusters' do pod 'Alamofire' pod 'SwiftyJSON' pod 'GoogleMaps' pod…
9
votes
1 answer

Issues with the current location image

I'm using the Google Maps SDK to display a map in my iOS app. Actually, in prior iOS versions (<=8.1) the default blue icon for current location displays correctly, but now in the iOS 8.2 simulator the blue dot looks like this . I'm following the…
FabKremer
  • 2,149
  • 2
  • 17
  • 29
9
votes
2 answers

Linker errors in a Swift project with Google Maps for iOS added via CocoaPods

I'm trying to add Google Maps SDK for iOS for a Swift project I'm working on via CocoaPods since CocoaPods now supports Swift. Here's my podfile. source 'https://github.com/CocoaPods/Specs.git' use_frameworks! platform :ios, '7.0' pod…
Isuru
  • 30,617
  • 60
  • 187
  • 303
9
votes
4 answers

Undefined symbols for architecture armv7 while using Google-Maps-iOS-SDK (1.8.1)

I am trying to add Google-Maps-iOS-SDK (1.8.1) using cocoapods (0.33.1). Deployment target version: iOS 7.0 I have added this pod: pod 'Google-Maps-iOS-SDK', '~> 1.8' Downloaded and installed sdk properly. I started adding header file and sample map…
regeint
  • 888
  • 2
  • 17
  • 38
9
votes
1 answer

Fit bounds not working as expected

I'm going through the Google Maps SDK for iOS Getting Started pages to find out how to zoom and center the view on a given bounds. Code for this is provided in Build a GMSCameraPosition, which mentions "It's sometimes useful to move the camera such…
David Barnard
  • 138
  • 1
  • 6
9
votes
2 answers

How put Google MapView in UIView?

I'm trying to put Google MapView in UIView but I get nothing displayed. My code, *.h #import #import @interface ViewController : UIViewController @property (weak, nonatomic) IBOutlet UIBarButtonItem…
SamYan
  • 1,553
  • 1
  • 19
  • 38
9
votes
4 answers

Google Maps API: Getting coordinates of current location iOS

I am currently working with Google Maps API in my project. I am trying to set the default camera/zoom to the users location. I do this: @implementation ViewController{ GMSMapView *mapView_; } @synthesize currentLatitude,currentLongitude; -…
Alexyuiop
  • 813
  • 2
  • 10
  • 25
9
votes
6 answers

Google Maps iOS SDK move "My Location" button to bottom left hand corner

Using the Google Maps for iOS SDK, the "My Location" button is by default placed in the bottom right hand corner: I'd like to place it in the bottom left hand corner (yes, I realize I need to be careful not to obscure the "Google" logo there). I…
Bryce Thomas
  • 10,479
  • 26
  • 77
  • 126
9
votes
5 answers

Google Maps iOS SDK: How do I get accurate latitude and longitude coordinates from a camera's visibleRegion?

EDIT: This is now a confirmed bug with this SDK I'm using version 1.1.1.2311 of the Google Maps for iOS SDK, and I'm looking to find the bounding latitude and longitude coordinates for the visible map on screen. I'm using the following code to tell…
andybons
  • 382
  • 1
  • 2
  • 10
9
votes
5 answers

"Failed to make complete framebuffer" error using Google maps SDK for iOS

Searching for this problem only gave me posts that were regarding opengl stuff that I have no knowledge of whatsoever. On my Storyboard, I've got 1 view in which I put another slightly smaller UIView object to act as a container for my map. This…
Millenjo
  • 461
  • 7
  • 16