WebMapPreferences.fullscreen constructor

const WebMapPreferences.fullscreen({
  1. bool streetViewControl = false,
  2. bool fullscreenControl = false,
  3. bool mapTypeControl = false,
  4. bool panControl = false,
  5. bool overviewMapControl = false,
  6. bool rotateControl = false,
  7. bool scaleControl = false,
  8. bool zoomControl = false,
})

Predefined support for fullscreen map.

Scrollwheel zomming and dragging gestures are enabled.

Implementation

const WebMapPreferences.fullscreen({
  this.streetViewControl = false,
  this.fullscreenControl = false,
  this.mapTypeControl = false,
  this.panControl = false,
  this.overviewMapControl = false,
  this.rotateControl = false,
  this.scaleControl = false,
  this.zoomControl = false,
})  : dragGestures = true,
      scrollwheel = true;