Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Location does not show #131

Open
ahmetsancaktaroglu opened this issue Oct 12, 2020 · 1 comment
Open

User Location does not show #131

ahmetsancaktaroglu opened this issue Oct 12, 2020 · 1 comment

Comments

@ahmetsancaktaroglu
Copy link

ahmetsancaktaroglu commented Oct 12, 2020

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

@ghadeermohameedelmahdy
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants