MPCameraUpdate.fromPoint constructor

MPCameraUpdate.fromPoint(
  1. MPPoint point
)

Construct the update from a point.

Implementation

MPCameraUpdate.fromPoint(MPPoint point)
    : _map = {"mode": "fromPoint", "point": point.toJson()};