Skip to content

MapLabel

public sealed class MapLabel

Namespace MapExpansions

A name on the phone map at a local x/z point. A line break splits it in two lines, as the main map does.

public string Text { get; set; }
public Vector2 Position { get; set; }
public MapLabelStyle Style { get; set; }

Type: MapLabelStyle

public Color? Color { get; set; }

Colour of the text; null keeps the colour of the main map’s names of that style.

public MapLabel(
string text,
Vector2 position,
MapLabelStyle style = MapLabelStyle.Building,
Color? color = null)

Types: MapLabelStyle