HtmlForgeX

API Reference

Command

New-HtmlXLeafletMarkerCluster

Namespace HtmlForgeX.PowerShell
Outputs
HtmlForgeX.LeafletMap

Enables marker clustering for the Leaflet map.

Remarks

Use inside New-HtmlXLeafletMap { }.

Examples

Imported script example

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 optionalposition: namedpipeline: false
Enable or disable chunked loading.
Disable SwitchParameter optionalposition: namedpipeline: false
Disables marker clustering.
DisableClusteringAtZoom int optionalposition: namedpipeline: false
Zoom level at which clustering is disabled.
MaxClusterRadius int optionalposition: namedpipeline: false
Maximum cluster radius in pixels.
ShowCoverageOnHover bool optionalposition: namedpipeline: false
Enable or disable coverage polygon on hover.
SpiderfyOnMaxZoom bool optionalposition: namedpipeline: false
Enable or disable spiderfy on max zoom.
ZoomToBoundsOnClick bool optionalposition: namedpipeline: false
Enable or disable zoom-to-bounds on cluster click.

Outputs

HtmlForgeX.LeafletMap