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
28
votes
21 answers

Google Maps not working on iPhone simulator

I've implemented the "Getting the Google Maps SDK for iOS" step by step finally the simulator running ok no errors found but the map has no details except the marker. As showing in the picture: Also the output on the bottom has this…
Aj-Ksa
  • 383
  • 1
  • 3
  • 5
27
votes
8 answers

GoogleMapsSDK : Undefined symbols for architecture x86_64

I am trying to install the Google maps SDK and I am running through this error when running: Undefined symbols for architecture x86_64: "_CBAdvertisementDataManufacturerDataKey", referenced from: -[GMSx_PEBeaconScanner…
STo
  • 267
  • 1
  • 3
  • 4
27
votes
8 answers

How to show a Info window in iOS Google maps without tapping on Marker?

I am new to iOS development. This is regarding Marker info window in Google Maps iOS SDK. I understand, we can create a marker with info window using GMSMarkerOption. GMSMarkerOption *myLocationOption = [GMSMarkerOption alloc]; myLocationOption…
albeee
  • 1,452
  • 1
  • 12
  • 20
26
votes
2 answers

GoogleMaps without CocoaPods

I would like to add GoogleMaps to my iOS project but I don't want to use CocoaPods. Is there any way to achieve that?
Sandah Aung
  • 6,156
  • 15
  • 56
  • 98
26
votes
6 answers

How to get coordinate center of gmsmapview in iphone

I'm using the new Google Maps SDK for iOS Can I get the true coordinate form GMSMapView.center? Now it returns a value of CGPoint, but it's not the true coordinate. Thank and Regards.
imalice
  • 548
  • 1
  • 7
  • 14
25
votes
6 answers

How to force refresh contents of the markerInfoWindow in Google Maps iOS SDK

I'm returning a UIImageView in - (UIView *)mapView:(GMSMapView *)mapView markerInfoWindow:(GMSMarker *)marker; This UIImageView loads images dynamically through a URL using SDWebImage. As the documentation says about marker info windows: Note: The…
24
votes
4 answers

How to obtain country, state, city from reverseGeocodeCoordinate?

GMSReverseGeocodeResponse contains - (GMSReverseGeocodeResult *)firstResult; whose definition is like: @interface GMSReverseGeocodeResult : NSObject /** Returns the first line of the address. */ - (NSString *)addressLine1; /** Returns…
user2101384
  • 375
  • 1
  • 3
  • 14
23
votes
1 answer

Ambiguous reference to member 'joinWithSeparator' in swift

I'm using Google's 'reverseGeocodeCoordinate' to get address based on latitude and longitude. I'm getting the following error in the implementation Ambiguous reference to member 'joinWithSeparator' Below is my implementation: let aGMSGeocoder:…
Ashok
  • 5,585
  • 5
  • 52
  • 80
20
votes
6 answers

How to get animated polyline route in GMSMapView, so that it move along with map when map is moved?

I have created animated polyline like CAShapeLayer by following code, I have added CAShapeLayer as sublayer to GMSMapiew but, if I move the map the layer won't moves. where to add the layer, so that it move along with map? func layer(from path:…
Elangovan
  • 1,158
  • 1
  • 9
  • 26
20
votes
9 answers

google maps iOS SDK: custom icons to be used as markers

The Android API has a very convenient class for this, IconGenerator. Using the IconGenerator in my Android app, I can easily make a marker that: is a simple rectangle with the color of my choosing. resizes to hold text of any length. is NOT an…
lf215
  • 1,185
  • 7
  • 41
  • 83
19
votes
5 answers

Is Google map mobile SDK no longer free?

According to this link : Google price guide Google has changed it's prices from 11 June. Is that mean using google map SDK for mobile devices is no longer free ?
19
votes
6 answers

Remove all GMSMarker from GMSMapView?

I placed 100 GMSMarkers on GMSMapView. How to remove all the GMSMarkers? In Google Sdk Version 1.6 for iOS. Marker array(in GMSMapView (Overlays) file) which will be holding the GMSMarkers list is deprecated. By using this i was removing all…
user3021529
  • 191
  • 1
  • 1
  • 3
18
votes
1 answer

Building a Cocoapod with Swift and dependency on Objective-C framework

I know there are already a few questions on this theme here on SO, but very few have accepted answers, and I don't think I have found the exact same problem as mine. I'm building a Swift pod, and in my code I rely on the Google Maps iOS SDK, which…
Romain
  • 3,718
  • 3
  • 32
  • 48
17
votes
1 answer

GMSPlace returns invalid coordinate (-180, -180), but name and place ID are correct

I'm trying to implement an autocomplete search on Google Maps that will show the location that the user selects on the map with a marker. Search works fine. The problem is as follows. When I select a location from the search results, I get a…
Sabah Siddique
  • 173
  • 1
  • 4
17
votes
4 answers

Xcode 7 linker issue with Google Maps SDK

I just downloaded Xcode 7 beta 4 and am trying to build my Swift 2.0 application but I am getting the following error which I can't figure out the solution to: ld: warning: -weak_framework is treated as -framework when used with -bitcode_bundle…
KPath001
  • 870
  • 5
  • 18
1
2
3
90 91