API Reference
Command
New-HtmlXGlobe
Creates a GlobeGl 3D globe container.
Remarks
Part of the HtmlForgeX.PowerShell DSL.
Examples
New-HtmlXGlobe -Height "420px" -Behavior AutoRotate -AutoRotateSpeed 0.15 {
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-HtmlXGlobe [-Content <ScriptBlock>] [-AtmosphereAltitude <double>] [-AtmosphereColor <string>] [-AutoRotateSpeed <double>] [-BackgroundColor <string>] [-Behavior <EnableZoom|AutoRotate|DisableAtmosphere|Default>] [-GeoGroup <string>] [-GeoSelectionTableMode <All|SourceOnly>] [-Height <string>] [-PerformancePreset <Default|Balanced|LowPower|HighQuality>] [-TextureDark <string>] [-TextureLight <string>] [<CommonParameters>]#Parameters
- Content ScriptBlock
- Scriptblock that adds markers, arcs, rings, or labels.
- AtmosphereAltitude double
- Atmosphere altitude.
- AtmosphereColor string
- Atmosphere color (CSS value).
- AutoRotateSpeed double
- Auto-rotation speed (used when auto-rotation is enabled).
- BackgroundColor string
- Background color (CSS value).
- Behavior GlobeBehavior
- Behavior flags controlling zoom/rotation. Possible values: None, EnableZoom, AutoRotate, DisableAtmosphere, Default
- Possible values:
EnableZoom,AutoRotate,DisableAtmosphere,Default - 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
- Globe height (e.g., "420px").
- PerformancePreset GlobePerformancePreset
- Performance preset for large datasets. Possible values: Default, Balanced, LowPower, HighQuality
- Possible values:
Default,Balanced,LowPower,HighQuality - TextureDark string
- Overrides the night texture URL (data URI or URL).
- TextureLight string
- Overrides the day texture URL (data URI or URL).
Outputs
HtmlForgeX.GlobeGl