Skip to content

Marker

One map annotation. Returned by: markers.get() / markers.list()

MemberReturnsMeaning
.idstringThe stable identity passed to markers.place(...); pass back to get / remove, and use prefixes to group families
.x / .ynumberWorld coordinates in meters. Feed straight to self.nav.set_target(m.x, m.y), a drone self.go_to(m.x, m.y), or construction_blueprint.plan_structure(kind, m.x, m.y)
.labelstringDisplay text on the map (empty = the map shows the id)
.notestringLonger hover note (empty when none)
.iconstringPin glyph: "pin", "x", "check", "circle", "flag", "crosshair", "warning", "hammer", "resource", "power", "fluid", "star"
.colorstring"neutral", "accent", "success", "warning", "error", "violet"