HtmlForgeX

API Reference

Command

New-HtmlXLeafletMarker

Namespace HtmlForgeX.PowerShell
Outputs
HtmlForgeX.LeafletMap

Adds a marker to the current Leaflet map.

Remarks

Use inside New-HtmlXLeafletMap { }.

Examples

Imported script example

New-HtmlXLeafletMarker -Latitude 52.2297 -Longitude 21.0122 -Tooltip "Warsaw"
        

New-HtmlXLeafletMarker -Latitude 50.0647 -Longitude 19.9450 -Tooltip "Krakow"
        

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-HtmlXLeafletMarker [-Color <Blue>] [-ColorHex <string>] [-Group <string>] [-Latitude <double>] [-Longitude <double>] [-Popup <string>] [-Tooltip <string>] [<CommonParameters>]
#

Parameters

Color TablerColor optionalposition: namedpipeline: falsevalues: 62
Optional marker color. Possible values: Blue, Azure, Indigo, Purple, Pink, Red, Orange, Yellow, Lime, Green, Teal, Cyan, White, Black, BlueLight, AzureLight, IndigoLight, PurpleLight, PinkLight, RedLight, OrangeLight, YellowLight, LimeLight, GreenLight, TealLight, CyanLight, Gray50, Gray100, Gray200, Gray300, Gray400, Gray500, Gray600, Gray700, Gray800, Gray900, Facebook, Twitter, Linkedin, Google, Youtube, Vimeo, Dribbble, Github, Instagram, Pinterest, Vk, Rss, Flickr, Bitbucket, Tabler, Default, Primary, Secondary, Success, Failed, Info, Warning, Danger, Light, Dark, Transparent
Possible values: Blue, Azure, Indigo, Purple, Pink, Red, Orange, Yellow, Lime, Green, Teal, Cyan, White, Black, BlueLight, AzureLight, IndigoLight, PurpleLight, PinkLight, RedLight, OrangeLight, YellowLight, LimeLight, GreenLight, TealLight, CyanLight, Gray50, Gray100, Gray200, Gray300, Gray400, Gray500, Gray600, Gray700, Gray800, Gray900, Facebook, Twitter, Linkedin, Google, Youtube, Vimeo, Dribbble, Github, Instagram, Pinterest, Vk, Rss, Flickr, Bitbucket, Tabler, Default, Primary, Secondary, Success, Failed, Info, Warning, Danger, Light, Dark, Transparent
ColorHex string optionalposition: namedpipeline: false
Optional marker color (custom hex).
Group string optionalposition: namedpipeline: false
Optional overlay group name.
Latitude double optionalposition: namedpipeline: false
Marker latitude.
Longitude double optionalposition: namedpipeline: false
Marker longitude.
Popup string optionalposition: namedpipeline: false
Optional popup text.
Tooltip string optionalposition: namedpipeline: false
Optional tooltip text.

Outputs

HtmlForgeX.LeafletMap