on View Annotation Visibility Updated
abstract fun onViewAnnotationVisibilityUpdated(view: View, visible: Boolean)
Content copied to clipboard
Callback triggered when view visibility has changed. By visibility we understand whether view is shown or hidden and that's not precisely equivalent listening to View.getVisibility as view may be visible but not yet shown.
Note: this callback is triggered when using view annotation with not explicitly setting ViewAnnotationOptions.visible meaning view annotation manager handles showing / hiding automatically based on View.getVisibility on top of the map until it is not positioned correctly.