MapMarker#

class MapMarker#

A marker drawn in the map view, with one of the game’s own map icons. Created using Drawing.AddMapMarker.

Tuple<double, double, double> Position { get; set; }#

Position of the marker.

Game Scenes:

Flight, Tracking Station

SpaceCenter.ReferenceFrame ReferenceFrame { get; set; }#

Reference frame that the position of the marker is in.

Game Scenes:

Flight, Tracking Station

bool Visible { get; set; }#

Whether the marker is visible.

Game Scenes:

Flight, Tracking Station

MapMarkerIcon Icon { get; set; }#

The icon that the marker is drawn with.

Game Scenes:

Flight, Tracking Station

Image Image { get; set; }#

The image that the marker is drawn with in place of its icon, or null to draw the icon.

Game Scenes:

Flight, Tracking Station

string Caption { get; set; }#

The caption shown when the mouse is over the marker.

Game Scenes:

Flight, Tracking Station

StdLib.ColorRGB Color { get; set; }#

The color of the marker.

Game Scenes:

Flight, Tracking Station

void Remove ()#

Remove the marker.

Game Scenes:

Flight, Tracking Station

enum MapMarkerIcon#

The icon a MapMarker is drawn with, from the game’s own map icons.

Generic#

A plain marker.

CelestialBody#

A celestial body.

Apoapsis#

An apoapsis.

Periapsis#

A periapsis.

AscendingNode#

An ascending node.

DescendingNode#

A descending node.

ManeuverNode#

A maneuver node.

Encounter#

An encounter with a sphere of influence.

Escape#

An escape from a sphere of influence.

Impact#

An impact with the surface.

CloseApproach#

A closest approach to a target.

Intersect#

An intersection with the orbit of a target.

Ship#

A ship.

Probe#

A probe.

Relay#

A relay.

Station#

A station.

Base#

A base.

Lander#

A lander.

Rover#

A rover.

Plane#

A plane.

EVA#

A kerbal on EVA.

Flag#

A flag.

Debris#

Debris.

SpaceObject#

An asteroid or comet.

DeployedScience#

Deployed science equipment.

LaunchSite#

A launch site.

Runway#

A runway.

KSC#

The Kerbal Space Center.