RasterDemSource constructor

const RasterDemSource({
  1. required String id,
  2. String? url,
  3. List<String>? tiles,
  4. List<double> bounds = const [-180, -85.051129, 180, 85.051129],
  5. double minZoom = 0,
  6. double maxZoom = 2,
  7. int tileSize = 512,
  8. String? attribution,
  9. RasterDemEncoding encoding = const RasterDemMapboxEncoding(),
  10. bool volatile = false,
})

The default constructor for a RasterDemSource object.

Implementation

const RasterDemSource({
  required super.id,
  this.url,
  this.tiles,
  this.bounds = const [-180, -85.051129, 180, 85.051129],
  this.minZoom = 0,
  this.maxZoom = 2,
  this.tileSize = 512,
  this.attribution,
  this.encoding = const RasterDemMapboxEncoding(),
  this.volatile = false,
});