I have successfully integrated google map in my iOS app. But the issue is...
Once I have added the marker on google map near to the current location then the current location blue dot hides behind the marker.
I want the current location marker to be shown always on top of the other markers.
How can I do that?
I have played with the z-Index
property of the marker but did not succeed.
let marker = GMSMarker()
marker.position = CLLocationCoordinate2D(latitude: location.coordinate.latitude-0.0005, longitude: location.coordinate.longitude)
marker.title = "ABC"
marker.snippet = "XYZ"
marker.map = self.mapView
// marker.zIndex = 0. <- did not work