HtmlForgeX

API Reference

Class

LeafletMarkerClusteringSettings

Namespace HtmlForgeX
Assembly HtmlForgeX
Modifiers sealed

Marker clustering settings for LeafletMap.

Inheritance

  • Object
  • LeafletMarkerClusteringSettings

Methods

public LeafletMarkerClusteringSettings ChunkedLoading(Boolean enable = true) #
Returns: LeafletMarkerClusteringSettings

Enable/disable chunked loading for large marker sets.

Parameters

enable System.Boolean = true optionalposition: 0
public LeafletMapSettings Disable() #
Returns: LeafletMapSettings

Disables marker clustering.

public LeafletMarkerClusteringSettings DisableClusteringAtZoom(Int32 zoom) #
Returns: LeafletMarkerClusteringSettings

Disables clustering at (and above) this zoom level.

Parameters

zoom System.Int32 requiredposition: 0
public LeafletMapSettings End() #
Returns: LeafletMapSettings

Return to parent settings builder.

public LeafletMarkerClusteringSettings MaxClusterRadius(Int32 pixels) #
Returns: LeafletMarkerClusteringSettings

Sets the maximum cluster radius in pixels.

Parameters

pixels System.Int32 requiredposition: 0
public LeafletMarkerClusteringSettings ShowCoverageOnHover(Boolean enable) #
Returns: LeafletMarkerClusteringSettings

Enable/disable coverage polygon on hover.

Parameters

enable System.Boolean requiredposition: 0
public LeafletMarkerClusteringSettings SpiderfyOnMaxZoom(Boolean enable) #
Returns: LeafletMarkerClusteringSettings

Enable/disable spiderfy at max zoom.

Parameters

enable System.Boolean requiredposition: 0
public LeafletMarkerClusteringSettings ZoomToBoundsOnClick(Boolean enable) #
Returns: LeafletMarkerClusteringSettings

Enable/disable zoom-to-bounds when clicking a cluster.

Parameters

enable System.Boolean requiredposition: 0