NmMapLayersState constructor

const NmMapLayersState({
  1. List<NmMapLayer> layers = const [],
  2. List<NmPropertyMarkerData> markers = const [],
  3. String? selectedMarkerId,
  4. bool isLayerPanelOpen = false,
  5. double centerLatitude = 39.8283,
  6. double centerLongitude = -98.5795,
  7. double zoomLevel = 4.0,
})

Creates a NmMapLayersState.

Implementation

const NmMapLayersState({
  this.layers = const [],
  this.markers = const [],
  this.selectedMarkerId,
  this.isLayerPanelOpen = false,
  this.centerLatitude = 39.8283,
  this.centerLongitude = -98.5795,
  this.zoomLevel = 4.0,
});