API Reference
Command
New-HtmlXLeafletLayerGroup
Configures a Leaflet overlay group entry in the layer control.
Remarks
Use inside New-HtmlXLeafletMap { }.
Examples
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
- Display label for the group.
- Name string
- Group name (matches overlay group ids).
- Order int
- Display order (lower values come first).
- Section string
- Optional section heading.
- Visible bool
- Initial visibility of the group.
Outputs
HtmlForgeX.LeafletMap