MPCameraUpdate.fromCameraPosition constructor

MPCameraUpdate.fromCameraPosition(
  1. MPCameraPosition position
)

Constructs the update from the given position.

Implementation

MPCameraUpdate.fromCameraPosition(MPCameraPosition position)
    : _map = {"mode": "fromCameraPosition", "position": position.toJson()};