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

How to show the selected pin image? #3

@hemangshah

Description

@hemangshah

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions