galaxy map.Interface.GalaxyMapMarker - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

@elite-dangerous-almanac/core / galaxy-map / GalaxyMapMarker

Interface: GalaxyMapMarker

Defined in: src/galaxy-map/markers.ts:27

One galaxy-map marker and the two colours the game draws it in.

Remarks

Both colours are uppercase seven-character #RRGGBB strings, so a consumer can hand either straight to CSS, to a canvas fill, or to a colour parser.

Properties

color

readonly color: string

Defined in: src/galaxy-map/markers.ts:37

The glyph's colour, as #RRGGBB. This is the marker's primary colour: the one a caller uses to tint an icon, draw a legend swatch, or colour a map pin.


frameColor

readonly frameColor: string

Defined in: src/galaxy-map/markers.ts:46

The square border's colour, as #RRGGBB.

Remarks

This matches GalaxyMapMarker.color on every marker but front-line, which the game frames in a darker purple than its arrow. It is always present, so a caller never has to fall back to color.


symbol

readonly symbol: string

Defined in: src/galaxy-map/markers.ts:32

The marker's stable identifier, in lower-case kebab case, which is also the base name of its asset file (bookmark, front-line, station-under-attack).

⚠️ **GitHub.com Fallback** ⚠️