OpenMapOptions.bounds constructor

OpenMapOptions.bounds({
  1. Crs? crs,
  2. double? zoom,
  3. double? rotation,
  4. bool? debugMultiFingerGestureWinner,
  5. bool? enableMultiFingerGestureRace,
  6. double? rotationThreshold,
  7. int? rotationWinGestures,
  8. double? pinchZoomThreshold,
  9. int? pinchZoomWinGestures,
  10. double? pinchMoveThreshold,
  11. int? pinchMoveWinGestures,
  12. bool? enableScrollWheel,
  13. double? minZoom,
  14. double? maxZoom,
  15. int? interactiveFlags,
  16. LatLngBounds? maxBounds,
  17. bool? keepAlive,
  18. LongPressCallback? onLongPress,
  19. PositionCallback? onPositionChanged,
  20. bool? slideOnBoundaries,
  21. Size? screenSize,
  22. bool? adaptiveBoundaries,
  23. required LatLngBounds bounds,
  24. FitBoundsOptions? boundsOptions,
  25. LatLng? swPanBoundary,
  26. LatLng? nePanBoundary,
})

Implementation

OpenMapOptions.bounds({
  this.crs,
  this.zoom,
  this.rotation,
  this.debugMultiFingerGestureWinner,
  this.enableMultiFingerGestureRace,
  this.rotationThreshold,
  this.rotationWinGestures,
  this.pinchZoomThreshold,
  this.pinchZoomWinGestures,
  this.pinchMoveThreshold,
  this.pinchMoveWinGestures,
  this.enableScrollWheel,
  this.minZoom,
  this.maxZoom,
  this.interactiveFlags,
  this.maxBounds,
  this.keepAlive,
  this.onLongPress,
  this.onPositionChanged,
  this.slideOnBoundaries,
  this.screenSize,
  this.adaptiveBoundaries,
  required LatLngBounds bounds,
  FitBoundsOptions? boundsOptions,
  this.swPanBoundary,
  this.nePanBoundary,
})  : _center = null,
      _boundsOptions = boundsOptions,
      _bounds = bounds;