CameraOptions constructor

CameraOptions({
  1. LngLat? center,
  2. num? zoom,
  3. num? bearing,
  4. num? pitch,
  5. LngLat? around,
})

Implementation

factory CameraOptions({
  LngLat? center,
  num? zoom,
  num? bearing,
  num? pitch,
  LngLat? around,
}) =>
    CameraOptions.fromJsObject(CameraOptionsJsImpl(
      center: center?.jsObject,
      zoom: zoom,
      bearing: bearing,
      pitch: pitch,
      around: around?.jsObject,
    ));