Interface: WT21MapStyles
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:4
Styles used across a WT21 map.
Properties
arrowStrokeWidth
readonlyarrowStrokeWidth:number
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:23
The default stroke width for svg arrows in pixels. Already scaled with map canvas scale.
bigLabelOffset
readonlybigLabelOffset:ReadonlyFloat64Array
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:40
The offset to use for big offset labels as a float 64 array. Already scaled with map canvas scale.
bigLabelOffsetPx
readonlybigLabelOffsetPx:number
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:37
The offset to use for big offset labels in pixels. Already scaled with map canvas scale.
canvasScale
readonlycanvasScale:number
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:6
Should really only be 1 or 0.5.
fontOutlineWidth
readonlyfontOutlineWidth:number
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:13
The default font outline width in pixels. Already scaled with map canvas scale.
labelFontSize
readonlylabelFontSize:number
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:10
The default label font size in pixels. Already scaled with map canvas scale.
labelLineHeight
readonlylabelLineHeight:number
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:16
The number of pixels to vertically offset labels from eachother by. Already scaled with map canvas scale.
mapIconSize
readonlymapIconSize:number
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:44
Size of map icons. Already scaled with map canvas scale.
outlineWidth
readonlyoutlineWidth:number
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:26
The default outline width in pixels. Already scaled with map canvas scale.
smallLabelOffset
readonlysmallLabelOffset:ReadonlyFloat64Array
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:33
The offset to use for small offset labels as a float 64 array. Already scaled with map canvas scale.
smallLabelOffsetPx
readonlysmallLabelOffsetPx:number
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:30
The offset to use for small offset labels in pixels. Already scaled with map canvas scale.
strokeWidth
readonlystrokeWidth:number
Defined in: workingtitle-instruments-wt21/shared/Map/WT21MapStylesModule.ts:20
The default stroke width in pixels. Already scaled with map canvas scale.