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

Show info window marker

What is the equivalent code for iOS to show the infowindow of marker in Google Maps in iOS Marker marker = myMap.addMarker(new MarkerOptions() .position(latLng) .title("Title") .snippet("Snippet") …
lhencq
  • 505
  • 2
  • 6
  • 16
1
vote
4 answers

GMSMapView always display the same location iOS

as the title says no matter what coordinates I give I see the same location. Here is my code: I am using storyboard and I have a subview inside my view. The subview is of type GMSMapView, and correctly linked. .h @property (strong, nonatomic)…
ghostrider
  • 5,131
  • 14
  • 72
  • 120
0
votes
0 answers

GMSGroundOverlay image size

I'm trying to figure out the allowed maximal size for images used with GMSGroundOverlay. It seems to me that this has been working up to about iOS 16.4 with images of roughly 4000x4000 pixels but now with iOS 16.6 and iOS 17 I only can get it to…
user1195883
  • 654
  • 4
  • 19
0
votes
0 answers

Building/Edifice-Appearance of Custom-styled map not updated/correct

I built a custom mapstyle based on the predefined "dark" map style in Googles old Stylewizard as well as in the cloud-platform. Using the iOS SDK with SWIFTUI/GMSMMapsview as UIVIEWRepresentable I can either access my custom design using the mapID…
0
votes
0 answers

GMSMapView doesn't show the map

We're trying to add a GMSMapView to a view controller in our app and the map only shows Google logo but the map itself is not visible And here's what we've checked so far: 1- We made sure GMSServices.provideAPIKey(apiKey) is called 2- Maps SDK for…
Ahmad Ismail
  • 641
  • 7
  • 15
0
votes
1 answer

How to return gms location name from lat long swiftui

I have a place picker that gives me the location by searching the street name. How I can retrieve the location name with this same class Placepicker just giving the lat long coordinates? struct PlacePicker: UIViewControllerRepresentable { …
user20810748
0
votes
0 answers

java.lang.NoSuchMethodError: No static method isAtLeastR()Z in class Lcom/google/android/gms/common/util/PlatformVersion

java.lang.NoSuchMethodError: No static method isAtLeastR()Z in class Lcom/google/android/gms/common/util/PlatformVersion; or its super classes (declaration of 'com.google.android.gms.common.util.PlatformVersion' appears in…
Rukaya
  • 1
0
votes
1 answer

How to update my location Custom Marker with googleMaps in Swift

I am currently trying to create a method to change the blue dot of googlemaps with a custom Icon, but currently I have the problem that the marker prints but don't clear its last location, this is the code I am using right now on with the…
Ricardo Guerrero
  • 433
  • 1
  • 5
  • 21
0
votes
1 answer

How to unload GMSMapView from memory?

I have UIViewController with GMSMapView (connected from storyboard) like this @IBOutlet weak var map: GMSMapView! in override func viewDidDisappear(_ animated: Bool) { super.viewDidDisappear(animated) self.map.delegate =…
tePoloN
  • 37
  • 8
0
votes
1 answer

GMSGeocoder gives Thread 5: EXC_BAD_ACCESS (code=1, address=0x0) in Notification service extension iOS

I want to use reverse Geocoding to get an address from a location coordinate inside my notification service extension. But including this code. GMSGeocoder().reverseGeocodeCoordinate(self.getLastSavedLocation().coordinate) { response, error in…
Aviharsh Shukla
  • 143
  • 3
  • 12
0
votes
2 answers

How to remove default marker from GMSMapView

I used GMSMapView for iOS app. I want to remove default marker/annotation from GMSMapView but it's not removed. I use maptype property to remove it which is working perfect in Android but in iOS it's not working. Let me share code sample here. let…
Manoj Kag
  • 11
  • 2
0
votes
1 answer

Obj-C - Google Maps SDK get data for selected marker?

I'm trying to get the data for a selected marker using the following code: -(void)viewDidLoad { NSMutableDictionary *viewParams3 = [NSMutableDictionary new]; [viewParams3 setValue:@"breweries" forKey:@"view_name"]; [DIOSView…
Brittany
  • 1,359
  • 4
  • 24
  • 63
0
votes
1 answer

Update mapview data in separate view controller

Note: you don't have to be familiar with Google Maps SDK or Places SDK to answer this question. Hi I am using a GMSMapView on my main MapViewController and GMSPlacesClient from Places SDK on a child view controller to search and return a list of…
Brady852
  • 21
  • 6
0
votes
1 answer

GMSMapView cached tiles are held in memory after zooming, leading to high memory usage and bad App performance

In my app i'm presenting a ViewController which displays a GMSMapView. Neither the ViewController nor the GMSMapView are supposed to be dismissed until the app is on the foreground, so the GMSMapView object is never deallocated, and since i'm also…
oneshot
  • 591
  • 1
  • 5
  • 27
0
votes
1 answer

AGSMAPView callout not showing on touch point

I am new to ARCGIS. Any help will be appreciated. I am showing callout on didtap delegate Like this func geoView(_ geoView: AGSGeoView, didTapAtScreenPoint screenPoint: CGPoint, mapPoint: AGSPoint) { isFromSearch = false …
Mudassir
  • 37
  • 1
  • 11