Skip to content
This repository has been archived by the owner on Nov 5, 2020. It is now read-only.

How to get the selected annotation? #7

Closed
hemangshah opened this issue Mar 15, 2018 · 1 comment
Closed

How to get the selected annotation? #7

hemangshah opened this issue Mar 15, 2018 · 1 comment

Comments

@hemangshah
Copy link

extension KiosksViewController: MapViewPlusDelegate {
    func mapView(_ mapView: MapViewPlus, calloutViewFor annotationView: AnnotationViewPlus) -> CalloutViewPlus {
        return EmptyView()
    }
}

As per my need, I don't want to show a CalloutView instead I will show up a View which I will add and display on self.view. So when I tap on any of the annotations, how would I get to know which annotation is tapped so that in my view I can update the label values from the selected annotation.

@hemangshah hemangshah changed the title How to get the current annotation will get display? How to get the selected annotation? Mar 15, 2018
@okhanokbay
Copy link
Owner

Let's continue in #4 about this.

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

No branches or pull requests

2 participants