MPCameraPositionBuilder.fromPosition constructor

MPCameraPositionBuilder.fromPosition(
  1. MPCameraPosition position
)

Copy another position to use as a reference.

Implementation

MPCameraPositionBuilder.fromPosition(MPCameraPosition position)
    : target = position.target,
      zoom = position.zoom,
      tilt = position.tilt,
      bearing = position.bearing;