MapMarker#
- class Drawing.MapMarker()#
A marker drawn in the map view, with one of the game’s own map icons. Created using
Drawing.addMapMarker().- MapMarker.getPosition()#
- MapMarker.setPosition(value)#
Position of the marker.
- Property:
Can be read or written
- Return type:
[number, number, number]- Game Scenes:
Flight, Tracking Station
- MapMarker.getReferenceFrame()#
- MapMarker.setReferenceFrame(value)#
Reference frame that the position of the marker is in.
- Property:
Can be read or written
- Return type:
- Game Scenes:
Flight, Tracking Station
- MapMarker.getVisible()#
- MapMarker.setVisible(value)#
Whether the marker is visible.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight, Tracking Station
- MapMarker.getIcon()#
- MapMarker.setIcon(value)#
The icon that the marker is drawn with.
- Property:
Can be read or written
- Return type:
- Game Scenes:
Flight, Tracking Station
- MapMarker.getImage()#
- MapMarker.setImage(value)#
The image that the marker is drawn with in place of its icon, or null to draw the icon.
- Property:
Can be read or written
- Return type:
Drawing.Imageornull- Game Scenes:
Flight, Tracking Station
- MapMarker.getCaption()#
- MapMarker.setCaption(value)#
The caption shown when the mouse is over the marker.
- Property:
Can be read or written
- Return type:
string- Game Scenes:
Flight, Tracking Station
- MapMarker.getColor()#
- MapMarker.setColor(value)#
The color of the marker.
- Property:
Can be read or written
- Return type:
- Game Scenes:
Flight, Tracking Station
- MapMarker.remove()#
Remove the marker.
- Game Scenes:
Flight, Tracking Station
- class Drawing.MapMarkerIcon()#
The icon a
Drawing.MapMarkeris drawn with, from the game’s own map icons.- MapMarkerIcon.generic#
A plain marker.
- MapMarkerIcon.celestialBody#
A celestial body.
- MapMarkerIcon.apoapsis#
An apoapsis.
- MapMarkerIcon.periapsis#
A periapsis.
- MapMarkerIcon.ascendingNode#
An ascending node.
- MapMarkerIcon.descendingNode#
A descending node.
- MapMarkerIcon.maneuverNode#
A maneuver node.
- MapMarkerIcon.encounter#
An encounter with a sphere of influence.
- MapMarkerIcon.escape#
An escape from a sphere of influence.
- MapMarkerIcon.impact#
An impact with the surface.
- MapMarkerIcon.closeApproach#
A closest approach to a target.
- MapMarkerIcon.intersect#
An intersection with the orbit of a target.
- MapMarkerIcon.ship#
A ship.
- MapMarkerIcon.probe#
A probe.
- MapMarkerIcon.relay#
A relay.
- MapMarkerIcon.station#
A station.
- MapMarkerIcon.base#
A base.
- MapMarkerIcon.lander#
A lander.
- MapMarkerIcon.rover#
A rover.
- MapMarkerIcon.plane#
A plane.
- MapMarkerIcon.eva#
A kerbal on EVA.
- MapMarkerIcon.flag#
A flag.
- MapMarkerIcon.debris#
Debris.
- MapMarkerIcon.spaceObject#
An asteroid or comet.
- MapMarkerIcon.deployedScience#
Deployed science equipment.
- MapMarkerIcon.launchSite#
A launch site.
- MapMarkerIcon.runway#
A runway.
- MapMarkerIcon.ksc#
The Kerbal Space Center.