API Reference
Command
New-HtmlXLeafletMarkerCluster
Enables marker clustering for the Leaflet map.
Remarks
Use inside New-HtmlXLeafletMap { }.
Examples
New-HtmlXLeafletMarkerCluster -MaxClusterRadius 50 -ChunkedLoading
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
New-HtmlXLeafletMarkerCluster [-ChunkedLoading <bool>] [-Disable] [-DisableClusteringAtZoom <int>] [-MaxClusterRadius <int>] [-ShowCoverageOnHover <bool>] [-SpiderfyOnMaxZoom <bool>] [-ZoomToBoundsOnClick <bool>] [<CommonParameters>]#Parameters
- ChunkedLoading bool
- Enable or disable chunked loading.
- Disable SwitchParameter
- Disables marker clustering.
- DisableClusteringAtZoom int
- Zoom level at which clustering is disabled.
- MaxClusterRadius int
- Maximum cluster radius in pixels.
- ShowCoverageOnHover bool
- Enable or disable coverage polygon on hover.
- SpiderfyOnMaxZoom bool
- Enable or disable spiderfy on max zoom.
- ZoomToBoundsOnClick bool
- Enable or disable zoom-to-bounds on cluster click.
Outputs
HtmlForgeX.LeafletMap