MapCamera.initialCamera constructor

MapCamera.initialCamera(
  1. MapOptions options
)

Initializes MapCamera from the given options and with the nonRotatedSize set to kImpossibleSize.

Implementation

MapCamera.initialCamera(MapOptions options)
    : crs = options.crs,
      minZoom = options.minZoom,
      maxZoom = options.maxZoom,
      center = options.initialCenter,
      zoom = options.initialZoom,
      rotation = options.initialRotation,
      nonRotatedSize = kImpossibleSize;