configure method

void configure({
  1. required SimpleMapOptions options,
  2. Animation? animation,
  3. Animation? transformAnimation,
  4. State<SimpleMap>? state,
})

Configure

Implementation

void configure({
  required SimpleMapOptions options,
  Animation? animation,
  Animation? transformAnimation,
  State<SimpleMap>? state,
}) {
  _state = state;
  _defaultPointColor = options.pointColor ?? _defaultPointColor;
  _startPointColor = options.startPointColor ?? _startPointColor;
  _projection = options.projection;
  _animation = animation as AnimationController? ?? _animation;
  _transformAnimation =
      transformAnimation as AnimationController? ?? _transformAnimation;
}