move

fun move(point: ScreenCoordinate)

Repositions the callout for a new anchor in MapView pixel space (same space mapView width/height).

When the anchor is outside 0..<mapView.width × 0..<mapView.height, see cancelCalloutWhenOffScreen: either dismiss or hide invisibly.

Parameters

point

Screen anchor in pixels, consistent with Mapbox pixelForCoordinate output for this map view.

See also