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

How to show the selected pin image? #3

Open
hemangshah opened this issue Mar 13, 2018 · 2 comments
Open

How to show the selected pin image? #3

hemangshah opened this issue Mar 13, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@hemangshah
Copy link

I have a requirement for which I need to show a different annotation image when an annotation is selected. How can I do that?

extension KiosksViewController: MapViewPlusDelegate {   
    func mapView(_ mapView: MapViewPlus, imageFor annotation: AnnotationPlus) -> UIImage {        
        return UIImage(named: "map_pin")!
    }
}

Right now, I am showing an image like this.

@okhanokbay
Copy link
Owner

Currently, MapViewPlus doesn't support this out of the box. Adding this to 0.2.0 milestone now.

@okhanokbay okhanokbay added this to the 0.2.0 milestone Mar 13, 2018
@okhanokbay okhanokbay added the enhancement New feature or request label Mar 13, 2018
@okhanokbay okhanokbay self-assigned this Mar 13, 2018
@hemangshah
Copy link
Author

@okhanokbay, thanks for coming up quickly! 👍

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

No branches or pull requests

2 participants