HtmlForgeX

API Reference

Command

New-HtmlXGlobe

Namespace HtmlForgeX.PowerShell
Outputs
HtmlForgeX.GlobeGl

Creates a GlobeGl 3D globe container.

Remarks

Part of the HtmlForgeX.PowerShell DSL.

Examples

Imported script example

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 optionalposition: 0pipeline: false
Scriptblock that adds markers, arcs, rings, or labels.
AtmosphereAltitude double optionalposition: namedpipeline: false
Atmosphere altitude.
AtmosphereColor string optionalposition: namedpipeline: false
Atmosphere color (CSS value).
AutoRotateSpeed double optionalposition: namedpipeline: false
Auto-rotation speed (used when auto-rotation is enabled).
BackgroundColor string optionalposition: namedpipeline: false
Background color (CSS value).
Behavior GlobeBehavior optionalposition: namedpipeline: falsevalues: 4
Behavior flags controlling zoom/rotation. Possible values: None, EnableZoom, AutoRotate, DisableAtmosphere, Default
Possible values: EnableZoom, AutoRotate, DisableAtmosphere, Default
GeoGroup string optionalposition: namedpipeline: false
Geo selection group id for cross-component sync.
GeoSelectionTableMode GeoSelectionTableMode optionalposition: namedpipeline: falsevalues: 2
Controls geo selection table sync mode. Possible values: All, SourceOnly
Possible values: All, SourceOnly
Height string optionalposition: namedpipeline: false
Globe height (e.g., "420px").
PerformancePreset GlobePerformancePreset optionalposition: namedpipeline: falsevalues: 4
Performance preset for large datasets. Possible values: Default, Balanced, LowPower, HighQuality
Possible values: Default, Balanced, LowPower, HighQuality
TextureDark string optionalposition: namedpipeline: false
Overrides the night texture URL (data URI or URL).
TextureLight string optionalposition: namedpipeline: false
Overrides the day texture URL (data URI or URL).

Outputs

HtmlForgeX.GlobeGl