Open captainbarbosa opened 4 years ago
Similar to https://github.com/mapbox/mapbox-gl-native/pull/8022, we should give developers the option to deselect annotations when panning and zooming on the map if they are in a selected state.
The solution to this will likely involve adding a new deselectsAutomatically property to MGLAnnotationController that checks if this option is true and then called the appropriate delegate methods accordingly (such as in https://github.com/mapbox/mapbox-annotation-extension/blob/master/MapboxAnnotationExtension/Views/MGLAnnotationLayerView.m#L48).
deselectsAutomatically
MGLAnnotationController
Similar to https://github.com/mapbox/mapbox-gl-native/pull/8022, we should give developers the option to deselect annotations when panning and zooming on the map if they are in a selected state.
The solution to this will likely involve adding a new
deselectsAutomatically
property toMGLAnnotationController
that checks if this option is true and then called the appropriate delegate methods accordingly (such as in https://github.com/mapbox/mapbox-annotation-extension/blob/master/MapboxAnnotationExtension/Views/MGLAnnotationLayerView.m#L48).