You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
User location does not show in the map. I want to update the user location when user moves but it does not show on map. Either I tried to show the user location with code and by checking the box "show user location" in the main.storyboard but it didn't worked.
when you draw th annotion you should guard if the annotation isn't Cluster type , you can use this func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? { guard let annotation = annotation as? ClusterAnnotation else{ return nil} // it maybe mkuserlocation
Description
User location does not show in the map. I want to update the user location when user moves but it does not show on map. Either I tried to show the user location with code and by checking the box "show user location" in the main.storyboard but it didn't worked.
Checklist
The text was updated successfully, but these errors were encountered: