HtmlForgeX

API Reference

Command

New-HtmlXLeafletLayerGroup

Namespace HtmlForgeX.PowerShell
Outputs
HtmlForgeX.LeafletMap

Configures a Leaflet overlay group entry in the layer control.

Remarks

Use inside New-HtmlXLeafletMap { }.

Examples

Imported script example

New-HtmlXLeafletLayerGroup -Name "Cities" -Label "Cities" -Order 1 -Visible
        

New-HtmlXLeafletLayerGroup -Name "Heat" -Label "Heatmap" -Order 2
        

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-HtmlXLeafletLayerGroup [-Label <string>] [-Name <string>] [-Order <int>] [-Section <string>] [-Visible <bool>] [<CommonParameters>]
#

Parameters

Label string optionalposition: namedpipeline: false
Display label for the group.
Name string optionalposition: namedpipeline: false
Group name (matches overlay group ids).
Order int optionalposition: namedpipeline: false
Display order (lower values come first).
Section string optionalposition: namedpipeline: false
Optional section heading.
Visible bool optionalposition: namedpipeline: false
Initial visibility of the group.

Outputs

HtmlForgeX.LeafletMap