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
17
votes
1 answer

How to send google maps location info through SMS as a link

In an application that I'm building, I am trying to send my location info(Lat,Long/ Geocoded) to my emergency contact list. I am assuming that all my recipients are using smartphones(Android/iOS) Until now, the application sends my location info…
17
votes
10 answers

Google Maps API key may be invalid for your bundle ID

We have a Google API Key that have been working for the past few months but suddenly yesterday it stop working below is the error. 2013-09-20 23:01:36.483 SampleApp[907:a0b] Google Maps SDK for iOS cannot connect or validate APIKey: Error…
lxcid
  • 1,023
  • 1
  • 11
  • 18
17
votes
7 answers

Adding Click Event on InfoWindow/Marker in Google Maps SDK for native iOS/objective C

Simple Question I´m working on an App for iOS where I embedded the new Google Map for native iOS. Everything works fine except one problem where I can´t find a propper solution for native IOS/ Objective-C neither here nor at google (if there is one…
Corona
  • 685
  • 1
  • 10
  • 15
16
votes
12 answers

Exception:Google Maps SDK for iOS must be initialized via [GMSServices provideAPIKey:...] prior to use

I am trying to implement Google Maps SDK into my project using Swift 2.0. I follow this but when running this, my app is getting the following error: 2015-08-25 19:05:17.337 googleMap[1919:54102] *** Terminating app due to uncaught exception…
iBeginner
  • 241
  • 1
  • 2
  • 8
16
votes
3 answers

Optimising custom marker image performance with Google Maps SDK for iOS

I have recently been incorporating the Google Maps for iOS SDK within an iOS app. This app is designed to retrieve position of aircraft (including aircraft model, lat/lng, speed - basic values for an aircraft) and then plot them on a Google…
Cameron
  • 557
  • 7
  • 19
15
votes
5 answers

xCode 7 error: include of non-modular header inside framework module with Google Maps

I updated to xCode 7.1 today and tried to build my app but I'm getting this error: I have already tried going to Build Settings under "Target" and set "Allow Non-modular Includes in Framework Modules" to YES but that didn't solve this…
goelv
  • 1,039
  • 2
  • 11
  • 21
15
votes
2 answers

Close info window of a marker programmatically google maps iOS

I know it's easy in the java version of Google Maps but I can't figure out how to get the info window to close in the objective C version of the SDK. I'm using this method: -(void) mapView:(GMSMapView *)mapView …
CSStudent
  • 425
  • 1
  • 6
  • 14
15
votes
4 answers

Draggable marker with Google Maps SDK for iOS

Has anybody figured out how to implement draggable markers with the new Google Maps SDK for iOS? The API does not provide it natively, yet. Feature request is already submitted. If I could get a hold of the underlying view of the GMSMarker, I could…
14
votes
7 answers

Google Maps iOS SDK, Getting Current Location of user

For my iOS app (building in iOS7),i need to show user's current location when the app load.I am using Google Maps iOS SDK. I am following this Google Map But i can't figure it out. Please help if you go through the path.
Sofeda
  • 1,361
  • 1
  • 13
  • 23
14
votes
4 answers

GMSMapView: how to manage memory?

My app is using a GMSMapView in a subview, and memory usage is as follows: 1.25 MB before map access; 21.5 MB after first map access; 30 MB (and sometimes spiking above 30) after zooming in and panning No leaks, as far as I can tell with…
user2444264
  • 141
  • 1
  • 1
  • 4
14
votes
1 answer

Google Maps iOS SDK - Search for places

I'm new to both iOS programming & the Google Maps iOS SDK, so apologies if this is a basic question. I want to include a Google map, in an app and give users the ability to search for various places (restaurants, bars, gyms, etc) within a certain…
Jim
  • 737
  • 3
  • 12
  • 27
13
votes
9 answers

How to open google maps app with a dropped pin ? - Swift

I have this code to open Google Maps App with specific location and it's working but what I need is to drop a pin on that location, is it possible ? if (UIApplication.shared.canOpenURL(URL(string:"comgooglemaps://")!)) { …
Zizoo
  • 1,694
  • 5
  • 20
  • 42
13
votes
5 answers

How do I move marker along with moving of Google Map in iOS?

I am displaying a marker in a particular place, along with displaying the current address in the address label on Google Maps. Now, I want to change the location by moving the Google Map, but the problem is that when I am moving the map, I should…
Shilpashree MC
  • 611
  • 1
  • 6
  • 16
13
votes
8 answers

No such module 'GoogleMaps' found however it is installed

I have installed the 'GoogleMaps' pod using cocoa pods and the project was building correctly, however when I transferred my project to another device through iCloud (the projects directory is in iCloud) the GoogleMaps pod stopped working. I…
maz
  • 349
  • 2
  • 3
  • 15
13
votes
3 answers

How can I change GMSMapView padding without moving the map

I'd like to be able change the padding of a GMSMapView without changing the location of a map. Right now, Google Maps iOS SDK changes the map location so that the same point is in center after the padding has been applied. This is different than…
bentomas
  • 557
  • 5
  • 12
1 2
3
90 91