StyleLayer constructor

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

Create a new StyleLayer instance.

Implementation

const StyleLayer({
  required this.id,
  this.layout = const {},
  this.paint = const {},
  this.minZoom = 0,
  this.maxZoom = 24,
  this.filter,
});