MapMarker#

public class MapMarker#

A marker drawn in the map view, with one of the game’s own map icons. Created using addMapMarker(org.javatuples.Triplet<Double,Double,Double>, SpaceCenter.ReferenceFrame, MapMarkerIcon, String, boolean).

org.javatuples.Triplet<Double, Double, Double> getPosition()#
void setPosition(org.javatuples.Triplet<Double, Double, Double> value)#

Position of the marker.

Game Scenes:

Flight, Tracking Station

SpaceCenter.ReferenceFrame getReferenceFrame()#
void setReferenceFrame(SpaceCenter.ReferenceFrame value)#

Reference frame that the position of the marker is in.

Game Scenes:

Flight, Tracking Station

boolean getVisible()#
void setVisible(boolean value)#

Whether the marker is visible.

Game Scenes:

Flight, Tracking Station

MapMarkerIcon getIcon()#
void setIcon(MapMarkerIcon value)#

The icon that the marker is drawn with.

Game Scenes:

Flight, Tracking Station

Image getImage()#
void setImage(Image value)#

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 getCaption()#
void setCaption(String value)#

The caption shown when the mouse is over the marker.

Game Scenes:

Flight, Tracking Station

StdLib.ColorRGB getColor()#
void setColor(StdLib.ColorRGB value)#

The color of the marker.

Game Scenes:

Flight, Tracking Station

void remove()#

Remove the marker.

Game Scenes:

Flight, Tracking Station

public enum MapMarkerIcon#

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

public MapMarkerIcon GENERIC#

A plain marker.

public MapMarkerIcon CELESTIAL_BODY#

A celestial body.

public MapMarkerIcon APOAPSIS#

An apoapsis.

public MapMarkerIcon PERIAPSIS#

A periapsis.

public MapMarkerIcon ASCENDING_NODE#

An ascending node.

public MapMarkerIcon DESCENDING_NODE#

A descending node.

public MapMarkerIcon MANEUVER_NODE#

A maneuver node.

public MapMarkerIcon ENCOUNTER#

An encounter with a sphere of influence.

public MapMarkerIcon ESCAPE#

An escape from a sphere of influence.

public MapMarkerIcon IMPACT#

An impact with the surface.

public MapMarkerIcon CLOSE_APPROACH#

A closest approach to a target.

public MapMarkerIcon INTERSECT#

An intersection with the orbit of a target.

public MapMarkerIcon SHIP#

A ship.

public MapMarkerIcon PROBE#

A probe.

public MapMarkerIcon RELAY#

A relay.

public MapMarkerIcon STATION#

A station.

public MapMarkerIcon BASE#

A base.

public MapMarkerIcon LANDER#

A lander.

public MapMarkerIcon ROVER#

A rover.

public MapMarkerIcon PLANE#

A plane.

public MapMarkerIcon EVA#

A kerbal on EVA.

public MapMarkerIcon FLAG#

A flag.

public MapMarkerIcon DEBRIS#

Debris.

public MapMarkerIcon SPACE_OBJECT#

An asteroid or comet.

public MapMarkerIcon DEPLOYED_SCIENCE#

Deployed science equipment.

public MapMarkerIcon LAUNCH_SITE#

A launch site.

public MapMarkerIcon RUNWAY#

A runway.

public MapMarkerIcon KSC#

The Kerbal Space Center.