moveView

fun moveView(inputX: Float = -999f, inputY: Float = -999f)

Repositions the callout bubble for the anchor at (inputX, inputY) in map view pixels, or the last stored anchor if arguments are omitted.

If the anchor lies outside 0..<mapView.width × 0..<mapView.height:

  • When cancelCalloutWhenAnchorOffScreen is true, runs dismissDueToOffScreenAction and returns early.

  • Otherwise sets the view to View.INVISIBLE but keeps isActive for timeline-driven updates.

Parameters

inputX

Anchor X in map view space; default -999f means reuse lastViewX.

inputY

Anchor Y in map view space; default -999f means reuse lastViewY.