HtmlForgeX

API Reference

Command

New-HtmlXLeafletThemeTiles

Namespace HtmlForgeX.PowerShell
Outputs
HtmlForgeX.LeafletMap

Configures theme-aware tile providers for Leaflet maps.

Remarks

Use inside New-HtmlXLeafletMap { }.

Examples

Imported script example

New-HtmlXLeafletThemeTiles -LightProvider $light -DarkProvider $dark
        

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-HtmlXLeafletThemeTiles [-DarkName <string>] [-DarkProvider <LeafletTileProvider>] [-FollowThemeChanges <bool>] [-LightName <string>] [-LightProvider <LeafletTileProvider>] [<CommonParameters>]
#

Parameters

DarkName string optionalposition: namedpipeline: false
Display name for the dark tiles.
DarkProvider LeafletTileProvider optionalposition: namedpipeline: false
Tile provider for dark theme.
FollowThemeChanges bool optionalposition: namedpipeline: false
Automatically follow theme changes.
LightName string optionalposition: namedpipeline: false
Display name for the light tiles.
LightProvider LeafletTileProvider optionalposition: namedpipeline: false
Tile provider for light theme.

Outputs

HtmlForgeX.LeafletMap