MapController constructor

MapController({
  1. required LatLng location,
  2. double zoom = 14,
  3. Projection projection = const EPSG4326(),
})

Creates an instance of MapController.

Implementation

MapController({
  required LatLng location,
  double zoom = 14,
  this.projection = const EPSG4326(),
})  : _center = location,
      _zoom = zoom;