Skip to main content

Interface: WT21MapStyles

Styles used across a WT21 map.

Properties

arrowStrokeWidth

Readonly arrowStrokeWidth: number

The default stroke width for svg arrows in pixels. Already scaled with map canvas scale.

Defined in

workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:23


bigLabelOffset

Readonly bigLabelOffset: Readonly<Omit<Float64Array, "set" | "sort" | "copyWithin">>

The offset to use for big offset labels as a float 64 array. Already scaled with map canvas scale.

Defined in

workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:40


bigLabelOffsetPx

Readonly bigLabelOffsetPx: number

The offset to use for big offset labels in pixels. Already scaled with map canvas scale.

Defined in

workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:37


canvasScale

Readonly canvasScale: number

Should really only be 1 or 0.5.

Defined in

workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:6


fontOutlineWidth

Readonly fontOutlineWidth: number

The default font outline width in pixels. Already scaled with map canvas scale.

Defined in

workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:13


labelFontSize

Readonly labelFontSize: number

The default label font size in pixels. Already scaled with map canvas scale.

Defined in

workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:10


labelLineHeight

Readonly labelLineHeight: number

The number of pixels to vertically offset labels from eachother by. Already scaled with map canvas scale.

Defined in

workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:16


mapIconSize

Readonly mapIconSize: number

Size of map icons. Already scaled with map canvas scale.

Defined in

workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:44


outlineWidth

Readonly outlineWidth: number

The default outline width in pixels. Already scaled with map canvas scale.

Defined in

workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:26


smallLabelOffset

Readonly smallLabelOffset: Readonly<Omit<Float64Array, "set" | "sort" | "copyWithin">>

The offset to use for small offset labels as a float 64 array. Already scaled with map canvas scale.

Defined in

workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:33


smallLabelOffsetPx

Readonly smallLabelOffsetPx: number

The offset to use for small offset labels in pixels. Already scaled with map canvas scale.

Defined in

workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:30


strokeWidth

Readonly strokeWidth: number

The default stroke width in pixels. Already scaled with map canvas scale.

Defined in

workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:20