HtmlForgeX

API Reference

Class

LeafletHeatmapSettings

Namespace HtmlForgeX
Assembly HtmlForgeX
Modifiers sealed

Settings sub-builder for Leaflet heatmap overlays.

Inheritance

  • Object
  • LeafletHeatmapSettings

Methods

public LeafletHeatmapSettings AddPoint(Double latitude, Double longitude, Nullable<Double> intensity = null) #
Returns: LeafletHeatmapSettings

Adds a heatmap point (optionally with intensity).

Parameters

latitude System.Double requiredposition: 0
longitude System.Double requiredposition: 1
intensity System.Nullable{System.Double} = null optionalposition: 2
public LeafletHeatmapSettings Blur(Int32 pixels) #
Returns: LeafletHeatmapSettings

Sets the heat blur in pixels.

Parameters

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

Return to parent settings.

public LeafletHeatmapSettings Group(String groupName) #
Returns: LeafletHeatmapSettings

Assigns the heatmap layer to an overlay group (used by the layer control).

Parameters

groupName System.String requiredposition: 0
public LeafletHeatmapSettings Max(Double value) #
Returns: LeafletHeatmapSettings

Sets the maximum point intensity.

Parameters

value System.Double requiredposition: 0
public LeafletHeatmapSettings MaxZoom(Int32 zoom) #
Returns: LeafletHeatmapSettings

Sets the maximum zoom for the heat intensity calculation.

Parameters

zoom System.Int32 requiredposition: 0
public LeafletHeatmapSettings MinOpacity(Double value) #
Returns: LeafletHeatmapSettings

Sets the minimum opacity for the heat layer.

Parameters

value System.Double requiredposition: 0
public LeafletHeatmapSettings Radius(Int32 pixels) #
Returns: LeafletHeatmapSettings

Sets the heat radius in pixels.

Parameters

pixels System.Int32 requiredposition: 0