MapMarker#
- class Drawing.MapMarker#
A marker drawn in the map view, with one of the game’s own map icons. Created using
Drawing.add_map_marker().- position: Tuple#
Position of the marker.
- Attribute:
Can be read or written
- Return type:
Tuple
- reference_frame: SpaceCenter.ReferenceFrame#
Reference frame that the position of the marker is in.
- Attribute:
Can be read or written
- Return type:
- visible: boolean#
Whether the marker is visible.
- Attribute:
Can be read or written
- Return type:
boolean
- icon: Drawing.MapMarkerIcon#
The icon that the marker is drawn with.
- Attribute:
Can be read or written
- Return type:
- image: Drawing.Image#
The image that the marker is drawn with in place of its icon, or null to draw the icon.
- Attribute:
Can be read or written
- Return type:
Drawing.ImageorTypes.none
- caption: string#
The caption shown when the mouse is over the marker.
- Attribute:
Can be read or written
- Return type:
string
- color: StdLib.ColorRGB#
The color of the marker.
- Attribute:
Can be read or written
- Return type:
- remove()#
Remove the marker.
- class Drawing.MapMarkerIcon#
The icon a
Drawing.MapMarkeris drawn with, from the game’s own map icons.- generic#
A plain marker.
- celestial_body#
A celestial body.
- apoapsis#
An apoapsis.
- periapsis#
A periapsis.
- ascending_node#
An ascending node.
- descending_node#
A descending node.
- maneuver_node#
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.
- close_approach#
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.
- space_object#
An asteroid or comet.
- deployed_science#
Deployed science equipment.
- launch_site#
A launch site.
- runway#
A runway.
- ksc#
The Kerbal Space Center.