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

GMSMapView not invoking keyboard

I'm trying to invoke keyboard for typing on a UITextField. This is how I add the UITextField: @implementation SOViewController{ GMSMapView *mapView_; } - (void)viewDidLoad { self.view = mapView_; UITextField *tf = [[UITextField alloc]…
Siddharthan Asokan
  • 4,321
  • 11
  • 44
  • 80
0
votes
1 answer

GMSMapView Initial drawing fails

I am creating GMSMapView instance as subview in custom UIView using following code GMSCameraPosition *camera = [GMSCameraPosition cameraWithLatitude:position.latitude …
0
votes
2 answers

Preserve state of GMSMapView when using custom segue

Currently, i'm using SWRevealViewController to create a sidebar and google map api for my project. https://github.com/John-Lluch/SWRevealViewController Here's the problem. Everytime I switch between ViewControllers using the sidebar and back to the…
Pham Hoan
  • 2,107
  • 2
  • 20
  • 34
0
votes
1 answer

IOS Google Map SDK - Google Map not updating to current location

I am trying to implement my current location within a sub view using Google Map SDK for IOS. I am trying to implement the GMSMapView as an IBOutlet. My header file has the code #import #import…
Arjun K P
  • 2,081
  • 4
  • 20
  • 33
0
votes
3 answers

Google maps marker action

I am putting markers on a mapView. The markers are showing objects from a NSArray populated from JSON. Now, if the user taps on a marker, it opens an info window which shows text from two fields (keys) from the array. What I need is to put a button…
mvasco
  • 4,965
  • 7
  • 59
  • 120
0
votes
1 answer

How to show multiple route IOS Mapview

I am creating IOS Application map based application in my app I like to show the route/path between source and destination and also I have done that but I will show only one route/path. I like to show all the possible path between the source and the…
btmanikandan
  • 1,923
  • 2
  • 25
  • 45
0
votes
2 answers

UITouch events calls / works only once. not works second time,

In my application i have added a google maps on my view. I want to know the touch point on the mapView / myView, where did i taped So that i implemented logic as follows. -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { CGPoint…
user2732294
  • 641
  • 2
  • 10
  • 21
0
votes
1 answer

Get location updates in GMSMapView without showing myLocation blue dot annotation

I need to get location updates in my view controller using GMSMapView. For this I have added observer for myLocation: [_googleMapView addObserver:self forKeyPath:@"myLocation" options:NSKeyValueObservingOptionNew context:NULL]; and I also have…
Zaraki
  • 3,720
  • 33
  • 39
-1
votes
1 answer

How can I keep map labels under a Polygon in Google Maps SDK for IOS?

Is there any way to keep the map labels with street names and POIs under GMSOverlays like GMSPolygons and GMSPolylines? I have tried with different Zindex but to no vail. This is what I get: But as the polygon is the important thing here, I don't…
-1
votes
1 answer

Sometimes getting crash when getting computed variable

I'm getting a crash in the following code: var gmsBounds: GMSMutablePath { get { let path = GMSMutablePath(with: self.boundaries) return path! } } Currently it crashes when initializing the GMSMutablePath according to…
Ados11
  • 1
  • 1
-1
votes
1 answer

How to get marker data of current camera position in Google Maps iOS SDK?

I'm building a tableview/scrollview to the lower part of a window containing a GMSMapView.map, which is intended to display the marker data of the current camera position. The GMSMapView.map has already markers set in. I'm missing the way to get…
Kristian H
  • 164
  • 1
  • 7
-1
votes
2 answers

GMSMapView zoom around a fixed point on the screen

This code will displace a marker 100 pixels lower down on the screen: CGPoint point = [myMapView.projection pointForCoordinate:marker.position]; point.y -= 100.0f; GMSCameraUpdate *camera = [GMSCameraUpdate setTarget:[myMapView.projection…
Peter
  • 1,061
  • 1
  • 13
  • 20
-1
votes
1 answer

How to stop google mapview animating when initially loaded in iOS

I am using google map view in my ears application everything works fine, but I just want my movie shouldn't animate from sea to my location when initially gets loaded I want to stop that. How can I achieve it?
praveen kumar
  • 141
  • 10
-1
votes
1 answer

objective-c: delegate after sub-classing

Well, i try to explain my problem: I sub-classed MyMapView from GMSMapView @interface MyMapView : GMSMapView @end Now i use MyMapView in MyViewController.m to show up a GMSMap and setup the delegate GMSMapViewDelegate. @implementation…
grethi
  • 146
  • 11
-2
votes
3 answers

How to get current location IOS device

I have been using GMSMap in my app. I want in my GMSMap user current location lat long. I am used lots of method but don't get current location. Please help and guid how to get my current location. I have read many tutorial and follow but don't get.…
1 2 3
22
23