API Reference
Command
New-HtmlXVectorMap
Creates a jsVectorMap (vector map) container.
Remarks
Part of the HtmlForgeX.PowerShell DSL.
Examples
New-HtmlXVectorMap -Map EuropeMill -Height "360px" -MarkerLabels {
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-HtmlXVectorMap [-Content <ScriptBlock>] [-Background <string>] [-BackgroundColor <Blue>] [-CustomDatasetUrl <string>] [-CustomMapId <string>] [-Draggable <bool>] [-GeoGroup <string>] [-GeoSelectionTableMode <All|SourceOnly>] [-Height <string>] [-Map <World>] [-MarkerLabels] [-RegionLabels] [-ZoomButtons <bool>] [-ZoomOnScroll <bool>] [<CommonParameters>]#Parameters
- Content ScriptBlock
- Scriptblock that adds markers or region settings.
- Background string
- Background color (CSS value).
- BackgroundColor TablerColor
- Background color preset. 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 - CustomDatasetUrl string
- Custom dataset URL or file name.
- CustomMapId string
- Custom map id for non-standard datasets.
- Draggable bool
- Enable or disable dragging.
- GeoGroup string
- Geo selection group id for cross-component sync.
- GeoSelectionTableMode GeoSelectionTableMode
- Controls geo selection table sync mode. Possible values: All, SourceOnly
- Possible values:
All,SourceOnly - Height string
- Map height (e.g., "350px").
- Map JsVectorMapName
- Vector map dataset preset. Possible values: World, WorldMerc, UsMillEn, UsMercEn, UsLccEn, UsAeaEn, Spain, Russia, Canada, Iraq, Brazil, AfricaMill, AsiaMill, BelgiumMill, ContinentsMill, EuropeMill, FranceMill, GermanyMill, NetherlandsMill, NorthAmericaMill, OceaniaMill, SouthAmericaMill, UkCountriesMill
- Possible values:
World,WorldMerc,UsMillEn,UsMercEn,UsLccEn,UsAeaEn,Spain,Russia,Canada,Iraq,Brazil,AfricaMill,AsiaMill,BelgiumMill,ContinentsMill,EuropeMill,FranceMill,GermanyMill,NetherlandsMill,NorthAmericaMill,OceaniaMill,SouthAmericaMill,UkCountriesMill - MarkerLabels SwitchParameter
- Show marker labels based on marker names.
- RegionLabels SwitchParameter
- Show region labels based on region names.
- ZoomButtons bool
- Enable or disable zoom buttons.
- ZoomOnScroll bool
- Enable or disable zoom on scroll.
Outputs
HtmlForgeX.JsVectorMap