API Reference
Command
New-HtmlXGlobeMarker
Adds a marker to the current globe.
Remarks
Use inside New-HtmlXGlobe { }.
Examples
New-HtmlXGlobeMarker -Latitude 52.2297 -Longitude 21.0122 -Label "Warsaw" -Color Info
New-HtmlXGlobeMarker -Latitude 37.7749 -Longitude -122.4194 -Label "San Francisco" -Color Primary
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-HtmlXGlobeMarker [-Color <Blue>] [-ColorHex <string>] [-Key <string>] [-Label <string>] [-Latitude <double>] [-Longitude <double>] [-Overlay <ScriptBlock>] [<CommonParameters>]#Parameters
- Color TablerColor
- Marker color (Tabler palette). 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
- Marker color (custom hex).
- Key string
- Optional marker key used by client-side helpers.
- Label string
- Marker label.
- Latitude double
- Marker latitude.
- Longitude double
- Marker longitude.
- Overlay ScriptBlock
- Optional overlay content rendered at the marker position.
Outputs
HtmlForgeX.GlobeGl