GMSMapView myLocation dot overlays user contacts

I am using the GoogleMaps SDK in my iOS project. The myLocationEnabled property is set to YES. I expect the user's location contact to soar above all other contacts, like on Android. But for some reason, it overlaps with the other outputs of the card. enter image description here Googling did not give me anyone with a similar problem. What can i do wrong? I use the standard GMSMapView workflow when adding contacts to the map.

GMSMarker * marker = [[GMSMarker alloc]init];
CLLocationCoordinate2D coordinate;
//cluster - is just an object of business logic
coordinate.latitude = [cluster.latitude floatValue];
coordinate.longitude =[cluster.longitude floatValue];
[marker setIcon:markerIcon];
[marker setPosition:coordinate];
[marker setUserData:cluster];
[marker setMap:mapView_];
+4
source share

Source: https://habr.com/ru/post/1542931/


All Articles