API Reference
Class
LeafletLayerGroupSettings
Settings sub-builder for a single Leaflet layer group entry within the layer control.
Inheritance
- Object
- LeafletLayerGroupSettings
Methods
public LeafletLayerControlSettings End() #Returns:
LeafletLayerControlSettingsReturn to layer control settings.
public LeafletLayerGroupSettings Label(String label) #Returns:
LeafletLayerGroupSettingsSets the display label shown in the layer control (defaults to the group name).
Parameters
- label System.String
public LeafletLayerGroupSettings Order(Int32 order) #Returns:
LeafletLayerGroupSettingsSets the display order for the group (lower values appear first).
Parameters
- order System.Int32
public LeafletLayerGroupSettings Section(String section) #Returns:
LeafletLayerGroupSettingsSets an optional section heading used to visually group entries inside the layer control.
Parameters
- section System.String
public LeafletLayerGroupSettings Visible(Boolean visible = true) #Returns:
LeafletLayerGroupSettingsControls whether the group is initially visible on the map.
Parameters
- visible System.Boolean = true