OnViewAnnotationUpdatedListener

Interface responsible for notifying when core updated view annotation position or visibility.

Functions

Link copied to clipboard
open fun onViewAnnotationAnchorCoordinateUpdated(view: View, anchorCoordinate: Point)

Callback triggered when view annotation anchor coordinate has changed. When it triggers it means that view annotation is repositioned on the attached geometry.

Link copied to clipboard

Callback triggered when view annotation anchor has changed. When it triggers it means that view annotation placement relative to its anchor coordinate has been updated.

Link copied to clipboard
open fun onViewAnnotationPositionUpdated(view: View, leftTopCoordinate: ScreenCoordinate, width: Double, height: Double)

Callback triggered when core updated view annotation position.

Link 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.