Questions tagged [gmsmapview]

This is the main class of the Google Maps SDK for iOS and is the entry point for all methods related to the map.

This is the main class of the Google Maps SDK for iOS and is the entry point for all methods related to the map.

Click Here for class reference.

332 questions
1
vote
1 answer

Swift 4 Get multiples places from Google Places API

I have trouble with fetching multiples places from Google Places API. The problem is... if i fetch only one pin type like Bars, its ok, no problem. But if i trying to get Restaurants, Bars, Casino... multiples types, it gives my only first place, in…
George Heints
  • 1,303
  • 3
  • 20
  • 37
1
vote
1 answer

Unable to recognize gestures on a subview in a GMSMapView

I currently have a GMSMapView with a UIView subview, but I can't get the subview to recognize tap gestures. I've tried many solutions like setting isUserInteractionEnabled equal to true and overriding the delegate but none have worked so far. import…
1
vote
1 answer

GMSPanoramaView orientation not aligned with Google maps on web

I am using street view API from google maps SDK in my application. Requirement is to show street view with disabling gestures control. I have added this code my application GMSPanoramaView *panoView = [[GMSPanoramaView alloc]…
1
vote
0 answers

How do I interact with GMSMapViews bundled with my test app in UI Tests?

I want to interact with my testable app's GMSMapview to write some UI Tests. But since its a third party SDK bundled with my testable app. I am unsure and unaware where and how to start. func testPanMapToAddFavourite() { // Use recording to…
user3879701
  • 23
  • 1
  • 7
1
vote
3 answers

Random KVO block crashes when allocating mapView, happens only when open/close screen several times

App is crashing on a map screen when it open and close several times. (Mostly on 6th attempt) Class that inherits from GMSMapView class AirportMapView: GMSMapView , AirportMapViewProtocol{ weak var airportMapViewModuleDelegate:…
1
vote
2 answers

Can I get UIScreen points from GMSMarker points?

I have included google map view in my project and successfully showing marker on it. Google map is only providing pop animation of marker. i want drop animation for the markers. I have successfully implemented radius animation zoom in and zoom out…
Jitendra Modi
  • 2,344
  • 12
  • 34
1
vote
1 answer

App crashes when run more than once on GMSMAPVIEW

I have an app that finds places near the user’s location, however, the app crashes the second time it runs with the exception: fatal error: unexpectedly found nil while unwrapping an Optional value. On line: self.googleMapView.animate(toLocation:…
Marij Khan
  • 151
  • 1
  • 12
1
vote
1 answer

GMSMapView - Mimic camera animation like Google Maps Application

I'm implementing google maps sdk in my app. However, the build in map animation is not even close to be like the animation which can be seen in Google Maps application. The animation in Google Maps application is very smooth and modest. The build in…
dor506
  • 5,246
  • 9
  • 44
  • 79
1
vote
1 answer

iOS add GMSPolylines with wired phenomena result

After adding the polylines to the map, sometime it shows up with wired phenomena. Just like the line has been deformed and rotated. While zooming the map, the lines are shaking. I recorded a video:…
Mr. Crow
  • 21
  • 2
  • 6
1
vote
1 answer

Google Map Memory Issue

I am working on a project where I need ViewController to show Google Map to indicate the location of Property and many other objects like table view and collection view to show JSON Data on the same view controller. Problem: This ViewController…
Amanpreet
  • 1,301
  • 3
  • 12
  • 29
1
vote
0 answers

Mapview Instancing vs Google Maps API quotas

I am creating my first app on Android and it uses com.google.android.gms.maps.MapView in at least 3 activities and fragments. As such, I'm calling the following code in each activity onCreate to create a…
1
vote
2 answers

How can create geofence in GMSMapView?

I want to create and monitor Geofence using GMSMapview (GoogleMaps) in iOS objective c. But after doing R & D so far, I noticed that GMSMapView does not providing any APIs and Framework to implement Geofence in iOS, I can't believe in this. It's…
Monika Patel
  • 2,287
  • 3
  • 20
  • 45
1
vote
0 answers

App crashing after multiple transition from initial screen to Map Screen which has GMSMapView

my app has initial search screen and on search goes to maps screen (GMSMapView) in navigation, after multiple to and fro transitions app crashes without error and some times with error * Terminating app due to uncaught exception…
Pavan Kumar
  • 87
  • 10
1
vote
1 answer

OneSignal and Google gms incompatibility

There is this error I get which you can see below. I found what causes the error is the incompatibility between the gms version in my project and the one used in Onesignal. I have checked every single solution proposed in these…
Fatima
  • 869
  • 10
  • 35
1
vote
1 answer

Draw polylines between two or more marker on GMSMapView with Swift3

I tried to implement differents solutions for draw polyLines between markers on my GMSMapView but is not working. Do you have others solutions or maybe do you know what's wrong in my code ? override func viewDidLoad() { super.viewDidLoad() …