I am using mapbox and have a post made up of 2 annotations. One can and another cannot (should not) be selectable.
How can I make a specific MGLAnnotation unselectable?
I am using mapbox and have a post made up of 2 annotations. One can and another cannot (should not) be selectable.
How can I make a specific MGLAnnotation unselectable?
Copyright © 2021 Jogjafile Inc.
Turns out the solution is very simple inside of the
class Custom2DotAnnotation: MGLAnnotationView {just addself.isEnabled = false