StyleLayerWithSource constructor

const StyleLayerWithSource({
  1. required String id,
  2. required String sourceId,
  3. Map<String, Object> paint = const {},
  4. Map<String, Object> layout = const {},
  5. double minZoom = 0,
  6. double maxZoom = 24,
  7. List<Object>? filter,
  8. String? sourceLayerId,
})

const constructor for StyleLayerWithSource.

Implementation

const StyleLayerWithSource({
  required super.id,
  required this.sourceId,
  super.paint = const {},
  super.layout = const {},
  super.minZoom,
  super.maxZoom,
  super.filter,
  this.sourceLayerId,
});