onViewAnnotationVisibilityUpdated

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.

Parameters

view

view that is updated.

visible

true when view is shown on top of the map and false if it's hidden either due to visibility or when it's removed from MapView completely.