MapState constructor

MapState(
  1. MapOptions options,
  2. ValueChanged<double> onRotationChanged,
  3. StreamSink<MapEvent> _mapEventSink
)

Implementation

MapState(this.options, this.onRotationChanged, this._mapEventSink)
    : _rotation = options.rotation,
      _rotationRad = degToRadian(options.rotation),
      _zoom = options.zoom,
      _onMoveSink = StreamController.broadcast();