viewportController property

ViewportController? viewportController
final

A controller for imperatively changing the map's viewport with animations.

Use viewportController when you need to animate the camera to a new position in response to user actions. See ViewportController for usage details.

If not provided, the map can only be positioned via viewport.

Implementation

final ViewportController? viewportController;