Type Alias: AbstractMapWaypointIconOptions
AbstractMapWaypointIconOptions =
object
Defined in: src/sdk/components/map/MapWaypointIcon.ts:56
Initialization options for an AbstractMapWaypointIcon.
Properties
anchor?
optionalanchor:ReadonlyFloat64Array|Subscribable<ReadonlyFloat64Array>
Defined in: src/sdk/components/map/MapWaypointIcon.ts:61
The anchor point of the icon, expressed as [x, y] relative to its width and height. [0, 0] is the top-left
corner, and [1, 1] is the bottom-right corner. Defaults to [0.5, 0.5].
offset?
optionaloffset:ReadonlyFloat64Array|Subscribable<ReadonlyFloat64Array>
Defined in: src/sdk/components/map/MapWaypointIcon.ts:67
The offset of the icon from the projected position of its associated waypoint, as [x, y] in pixels. Defaults to
[0, 0].