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.
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;
coordinate.latitude = [cluster.latitude floatValue];
coordinate.longitude =[cluster.longitude floatValue];
[marker setIcon:markerIcon];
[marker setPosition:coordinate];
[marker setUserData:cluster];
[marker setMap:mapView_];
source
share