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
0
votes
0 answers

Returning before block in GMSMapViewDelegate

I'm trying to update the UI inside the block, but the problem is that the method is returning before the block. How can I fix that? I want to return the object with all its properties updated. I tried to get main_queue when updating UI but that…
alejandro r
  • 101
  • 1
  • 2
0
votes
2 answers

GMSMapView is not zooming in

I am loading a Google Place from the autocomplete API then looking up place details to zoom in on my map. I have a GMSMapView defined in my XIB which I can see when I run my view controller. Originally the zoom level is at 4. When I set the…
quantumpotato
  • 9,637
  • 14
  • 70
  • 146
0
votes
1 answer

Marker title on google map

Current Scenario I need a solution regarding google map ,Currently i am able to open google maps via both url and sdk i want to populate title on the marker of google map while i open it via browser . NSString *url = [[NSString…
Neha
  • 63
  • 12
0
votes
0 answers

Unable to update markers on GMaps using Swift and Parse db

I wrote a function that grabs the data from Parse DB and displays the markers on Google Maps. In my ViewDidLoad function I have NSTimer that calls the function every second. The problem I am experience that array of SpotNames, SpotGeopoints keeps…
Yaroslav Dukal
  • 3,894
  • 29
  • 36
0
votes
1 answer

How to get the GMSMarker which are inside the GMSPolygon

I am using google maps api to draw a polygon into the map in my ios app, I achieved this free hand drawing polygon from this link : https://github.com/saru2020/SARMapDrawView So now i have a GMSPolygon but i want get the GMSMarker which lies inside…
Uzair Dhada
  • 333
  • 2
  • 6
  • 23
0
votes
2 answers

Is it possible to use GMSPolygon with MKMapView?

I have a GMSPolygon created via point coordinates and I need to integrate it with my mapView. However the map is mkMapView. Since I am using clustered pins etc I'd like to keep the work I've done on the map but now that is causing issues with other…
RobertyBob
  • 803
  • 1
  • 8
  • 20
0
votes
1 answer

Adding a button a layer above a UIView

I currently have a UIView that is linked to GMSMapView (google maps) however when I try to overlay a button it appears to be there in the storyboard however when I launch the simulator the button is no longer there. Is there something special I…
maz
  • 349
  • 2
  • 3
  • 15
0
votes
3 answers

Unexpectedly found Nil unwrapping an Optional value

I am aware that there are many other questions like this however I assure you this is not a duplicate as far as I can tell. As you can see in the code below I have not marked any values as Optional however I keep getting this error. It crashes…
maz
  • 349
  • 2
  • 3
  • 15
0
votes
3 answers

GMSMapView Prevents UITableView from Scrolling

I have a GMSMapView inside a SWTableViewCell, i've disabled the scrolling but apparently it doesn't inherit the scrolling (or other gestures) of the table/cell. Scrolling and swiping the cell works in all the other parts of the cell but not on the…
0
votes
0 answers

how to show multiple info window of GMS mapView?

I want to add multiple info windows to appear at the same time with out tapping on the marker . How to implement this ? Here is my code to add multiple markers and adding a infoWindow? for (int i = 0 ; i < jsonDataDict.count; i ++) { …
ios
  • 955
  • 1
  • 12
  • 35
0
votes
1 answer

CLLocationManager Repeating Few Times

Having a bit of an issue. I have a GMSMapView in my application and it points to the users location upon loading. When the app loads I have the locationManager set to display the latitude in the log once it finds the users position. Right now it…
Curtis Boylan
  • 827
  • 1
  • 7
  • 23
0
votes
1 answer

GMSMapVIew didTapMarker Not Firing Until I drag/move map

using latest GoogleMaps: source 'https://github.com/CocoaPods/Specs.git' platform :ios, '8.1' pod 'GoogleMaps' In my ios code, I got the didTapMarker declared: - (BOOL)mapView:(GMSMapView *)mapView didTapMarker:(GMSMarker *)marker{ ... } I first…
0
votes
2 answers

marker is not showing on google map

I am using GoogleMap SDK in iOS to display user's current location. Google map is showing on my view but marker is not visible. I don't know what I am doing wrong here. Here is my code #import @interface firstViewController…
amar
  • 175
  • 3
  • 19
0
votes
0 answers

How to get array of countries or states or cities using google map SDK for iOS

I need to obtain an array of countries, or states or cities present within a visible bounds on the map view. Any suggestions please ?
0
votes
1 answer

Google SDK crashes in iOS 8 and above

I imported the latest GoogleMaps framework in my application. In .m file, I do import #import and in viewDidLoad:, I create the map with line GMSMapView *mapView = [GMSMapView mapWithFrame:CGRectMake(0.0f, 0.0f,…
iOS
  • 3,526
  • 3
  • 37
  • 82