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
11
votes
2 answers

Find markers shown in mapView

I am trying to determine the marker/s currently shown in a mapview. I have researched the following the method: self.mapView.bounds.contains(markers[0].position) But the contains command accepts CGPoint or CGRect. In other platforms except Swift,…
Jayson Tamayo
  • 2,741
  • 3
  • 49
  • 76
11
votes
1 answer

Link static library inside dynamic (Cocoa Touch) framework

I have a dynamic framework which links against Google Maps (which is, as far as I see it, still kind of a static library, if not exactly that, just with a framework wrapper). The problem is that the framework links against the static library and…
11
votes
2 answers

iOS 8 Google Maps SDK myLocation icon bubble graphical glitch

I am learning about the Google Maps SDK and getting to know Swift, and when I create a mapview centered on my location using myLocation = true, the location bubble shows up, but it appears with a square mask around it like this I am not performing…
kidCoder
  • 354
  • 4
  • 17
11
votes
3 answers

How to remove GMSPolygon from GMSMapView

Does exist any way to remove GMSPolygons from GMSMapView? It does not seem to exist a property of GMSMapView containing them (as GMSPlolyLines), should I clear the map and render all again? thanks
joseprupi
  • 317
  • 4
  • 13
11
votes
4 answers

Map camera position changes sharply without animation

I use google Maps SDK for iOS. I have markers on my map and want to set proper zoom so that markers are separate and also markers should be visible on screen all at once. I am able to do it.I have done using logic that if all markers are visible…
Geek
  • 8,280
  • 17
  • 73
  • 137
11
votes
4 answers

Do marker animations exist on GoogleMaps SDK for iOS?

Is it possible to move/rotate GMSMarker on GMSMapView with animation?
Denis
  • 358
  • 5
  • 12
10
votes
3 answers

UISearchDisplayController is no longer supported when linking against this version of iOS

Unable to use Googleplaces SDk, No where I'm using "UISearchDisplayController" in my project. So searched in my project which is showing in GooglePlaces I'm no where using "GMSAutocompleteTableDataSource", I'm Using…
10
votes
5 answers

How to draw routes between two locations in google maps iOS swift

I'm using google maps in my iOS swift project. I want to draw a path between two locations on the map (Not straight line). Any idea how to do that ?
Anushka Madushan
  • 681
  • 2
  • 12
  • 31
10
votes
5 answers

How to implement GMUClusterRenderer in Swift

I am using Google Maps API for iOS and want to use marker clustering utility. I figured out how to show clustered markers, but I would like to customize markers. Can someone explain how to set/change icon and title of each marker or clustered…
10
votes
1 answer

How to identify which GMSMarker was tapped - iOS, Swift

I'm quite new to Swift and i'm trying to better understand Google Maps API. I'm building a simple app that shows images when markers on panoramaView are tapped through didTapMarker method. Since each marker should show a different images, i'm trying…
10
votes
6 answers

GMSMapView not showing anything

I currently have a UIView in my View Controller which I have changed to a GMSMapView in the Interface Builder, but nothing shows up, as shown in the picture below: Here is the code that I am using let lat = 47.07903 let long = -122.961283 …
Sampath Duddu
  • 277
  • 1
  • 5
  • 14
10
votes
2 answers

How to create a GMSPlace

I'm using the Google Maps iOS SDK and would like to store recent places (GMSPlace objects) that users search for. I'm running into a problem retrieving those places, as it doesn't seem like GMSPlaces can be instantiated directly. Is it possible to…
Josh Sklar
  • 461
  • 1
  • 3
  • 14
10
votes
5 answers

How to add marker for a map view in google maps sdk for ios in swift

Trying to add a marker to Google map,but the app is getting crashed at while addMarker() function call,Exception details are as follows, Terminating app due to uncaught exception 'GMSThreadException', reason: 'All calls to the Google Maps SDK for…
Naresh Reddy M
  • 1,096
  • 1
  • 10
  • 27
10
votes
5 answers

MKMapView visible region padding

Dera colleagues, I'm struggle to implement visible region with native MKMapView. I need to have an exactly the same feature as Google Map SDK Visible Region. Basically it means to have a sort of padding in the bottom to following code: let span =…
Alexey
  • 645
  • 6
  • 21
10
votes
1 answer

Location Dot in Google Maps iOS SDK showing as a Square

In this image, the location dot has a white circle around it. Anyone knows what can cause this ? I am using the normal self.gMap.myLocationEnabled = YES; Thank you
guest
  • 101
  • 4