MapLayer constructor
const
MapLayer({
- Key? key,
- MapLatLngBounds? initialLatLngBounds,
- List<
MapSublayer> ? sublayers, - int initialMarkersCount = 0,
- MapMarkerBuilder? markerBuilder,
- IndexedWidgetBuilder? markerTooltipBuilder,
- MapTooltipSettings tooltipSettings = const MapTooltipSettings(),
- MapZoomPanBehavior? zoomPanBehavior,
- WillZoomCallback? onWillZoom,
- WillPanCallback? onWillPan,
Creates a MapLayer.
Implementation
const MapLayer({
Key? key,
this.initialLatLngBounds,
this.sublayers,
this.initialMarkersCount = 0,
this.markerBuilder,
this.markerTooltipBuilder,
this.tooltipSettings = const MapTooltipSettings(),
this.zoomPanBehavior,
this.onWillZoom,
this.onWillPan,
}) : super(key: key);