PowerMarkerClusterOptions constructor
PowerMarkerClusterOptions({ - required PowerClusterWidgetBuilder builder,
- bool? rotate,
- Size size = const Size(30, 30),
- Size computeSize(
- List<Marker>
)?,
- Alignment? alignment,
- int maxClusterRadius = 80,
- int disableClusteringAtZoom = 20,
- AnimationsOptions animationsOptions = const AnimationsOptions(),
- EdgeInsets padding = EdgeInsets.zero,
- double maxZoom = 17.0,
- bool inside = false,
- bool forceIntegerZoomLevel = false,
- bool zoomToBoundsOnClick = true,
- bool centerMarkerOnClick = true,
- int spiderfyCircleRadius = 40,
- int spiderfySpiralDistanceMultiplier = 1,
- int circleSpiralSwitchover = 9,
- List<Offset> spiderfyShapePositions(
- int,
- Offset
)?,
- bool spiderfyCluster = true,
- PolygonOptions polygonOptions = const PolygonOptions(),
- bool showPolygon = true,
- void onMarkerTap(
- Marker
)?,
- void onMarkerDoubleTap(
- Marker
)?,
- void onMarkerHoverEnter(
- Marker
)?,
- void onMarkerHoverExit(
- Marker
)?,
- void onClusterTap(
- MarkerClusterNode
)?,
- void onMarkersClustered(
- List<Marker>
)?,
- bool markerChildBehavior = false,
})
Implementation
PowerMarkerClusterOptions({
required this.builder,
this.rotate,
this.size = const Size(30, 30),
this.computeSize,
this.alignment,
this.maxClusterRadius = 80,
this.disableClusteringAtZoom = 20,
this.animationsOptions = const AnimationsOptions(),
this.padding = EdgeInsets.zero,
this.maxZoom = 17.0,
this.inside = false,
this.forceIntegerZoomLevel = false,
this.zoomToBoundsOnClick = true,
this.centerMarkerOnClick = true,
this.spiderfyCircleRadius = 40,
this.spiderfySpiralDistanceMultiplier = 1,
this.circleSpiralSwitchover = 9,
this.spiderfyShapePositions,
this.spiderfyCluster = true,
this.polygonOptions = const PolygonOptions(),
this.showPolygon = true,
this.onMarkerTap,
this.onMarkerDoubleTap,
this.onMarkerHoverEnter,
this.onMarkerHoverExit,
this.onClusterTap,
this.onMarkersClustered,
this.popupOptions,
this.markerChildBehavior = false,
});