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
{{ message }}
This repository has been archived by the owner on Nov 5, 2020. It is now read-only.
I don't really know how to check the type of my pin annotation type in delegate mapView(_ mapView: MapViewPlus, calloutViewFor annotationView: AnnotationViewPlus) -> CalloutViewPlus. The AnnotationViewPlus comes from nowhere, now define CalloutViewPlus is mandatory. What if I only want one pin to show callout view but not others? Having that hacking method to hide callout view for certain pins(as another issue thread mentioned) is kind of silly. Why don't you change this delegate return value as optional? I cannot show other subclass of MKAnnotation if I use only MapViewPlus, it just crashes as the mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? is overriden by MapViewPlus's delegate
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I don't really know how to check the type of my pin annotation type in delegate mapView(_ mapView: MapViewPlus, calloutViewFor annotationView: AnnotationViewPlus) -> CalloutViewPlus. The AnnotationViewPlus comes from nowhere, now define CalloutViewPlus is mandatory. What if I only want one pin to show callout view but not others? Having that hacking method to hide callout view for certain pins(as another issue thread mentioned) is kind of silly. Why don't you change this delegate return value as optional? I cannot show other subclass of MKAnnotation if I use only MapViewPlus, it just crashes as the mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? is overriden by MapViewPlus's delegate
The text was updated successfully, but these errors were encountered: