Interface: Options

Initial network renderer configuration.

Remarks

msaa is read once at construction. Other fields seed the initial view and can be patched later with Network.setOptions.

Properties

Property

Type

Default value

Description

baseColor?

readonly [number, number, number, number]

[0.5, 0.5, 0.5, 1].

Resting vertex color when the vertexColor channel carries no signal.

borderColor?

readonly [number, number, number, number]

[0.52, 0.5, 0.49, 1].

Geographic border tint as four normalized color channels; shaders keep tier alpha.

borders?

boolean

true.

Draw geographic border overlays.

colormap?

(t) => readonly [number, number, number]

A neutral gray ramp.

Seeds the color lookup texture used by colormap channels.

daylight?

boolean

true.

Enable time-based daylight shading.

earthAxis?

boolean

true.

Draw the globe earth-axis indicator when supported.

edgeHoverPx?

number

3.5.

Additional hover half-width around focused edges, in CSS pixels.

edges?

boolean

true.

Draw edge segments.

edgeSelectedPx?

number

5.

Additional selection half-width around focused edges, in CSS pixels.

focusEnabled?

boolean

true.

Enable hover and selection highlighting.

focusEndpointMode?

"off" | "selected" | "hover-selected"

"selected".

Endpoint highlight mode for focused edges.

graticule?

boolean

false.

Draw projection graticule lines.

graticuleColor?

readonly [number, number, number, number]

[0.45, 0.48, 0.54, 1].

Graticule line color as four normalized color channels.

hoverAlpha?

number

0.5.

Multiplier applied to the hover color alpha channel.

hoverColor?

readonly [number, number, number, number]

[0.72, 0.28, 0.18, 1].

Hover highlight color as four normalized color channels.

msaa?

1 | 4

Automatically selects 4 on typical displays and 1 on very large device-pixel surfaces.

Multisample anti-aliasing sample count selected at construction.

nightFloor?

number

0.55.

Minimum brightness on the night side of overlay geometry.

poles?

boolean

false.

Draw height poles when a vertexHeight channel is active.

selectedAlpha?

number

0.82.

Multiplier applied to the selected color alpha channel.

selectedColor?

readonly [number, number, number, number]

[0.72, 0.28, 0.18, 1].

Selection highlight color as four normalized color channels.

surfaceColor?

readonly [number, number, number, number]

[0.15, 0.16, 0.19, 1].

Tilt ground plane and globe sphere base color as four normalized color channels.

surfaceNightFloor?

number

0.1.

Minimum brightness on the night side of opaque surfaces.

terminatorWidth?

number

0.12.

Softness of the day/night terminator in shader units.

vertexHoverPx?

number

6.

Additional hover radius around focused vertices, in CSS pixels.

vertexSelectedPx?

number

7.

Additional selection radius around focused vertices, in CSS pixels.

vertices?

boolean

true.

Draw vertex billboards.