HtmlForgeX

API Reference

Class

LeafletLayerGroupSettings

Namespace HtmlForgeX
Assembly HtmlForgeX
Modifiers sealed

Settings sub-builder for a single Leaflet layer group entry within the layer control.

Inheritance

  • Object
  • LeafletLayerGroupSettings

Methods

public LeafletLayerControlSettings End() #
Returns: LeafletLayerControlSettings

Return to layer control settings.

public LeafletLayerGroupSettings Label(String label) #
Returns: LeafletLayerGroupSettings

Sets the display label shown in the layer control (defaults to the group name).

Parameters

label System.String requiredposition: 0
public LeafletLayerGroupSettings Order(Int32 order) #
Returns: LeafletLayerGroupSettings

Sets the display order for the group (lower values appear first).

Parameters

order System.Int32 requiredposition: 0
public LeafletLayerGroupSettings Section(String section) #
Returns: LeafletLayerGroupSettings

Sets an optional section heading used to visually group entries inside the layer control.

Parameters

section System.String requiredposition: 0
public LeafletLayerGroupSettings Visible(Boolean visible = true) #
Returns: LeafletLayerGroupSettings

Controls whether the group is initially visible on the map.

Parameters

visible System.Boolean = true optionalposition: 0