DotNet.GalaxyMap.Record.GalaxyMapMarker - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
EliteDangerousAlmanac / GalaxyMap / GalaxyMapMarker
Defined in: dotnet/src/EliteDangerousAlmanac/GalaxyMap/GalaxyMapMarker.cs:28
One galaxy-map location marker and the two colours the game draws it in.
Both colours are uppercase seven-character #RRGGBB strings, so a caller can hand either straight to a colour parser, a brush or a stylesheet.
The marker's vector asset paints with currentColor under a root color attribute holding Color, so a host that embeds the file inline recolours it with one CSS color declaration. The frame of a marker whose FrameColor differs is the one part that declaration does not reach.
new GalaxyMapMarker(
Symbol,Color,FrameColor)
string
The marker's stable identifier, in lower-case kebab case, such as front-line. It is also the base name of the marker's vector asset, assets/galaxy-map/<symbol>.svg.
string
The glyph's colour. 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.
string
The square border's colour. It matches 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.
Color:
string
The glyph's colour. 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:
string
The square border's colour. It matches 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:
string
The marker's stable identifier, in lower-case kebab case, such as front-line. It is also the base name of the marker's vector asset, assets/galaxy-map/<symbol>.svg.