• createBlipAttachedTo:
Required Arguments
elementToAttachTo: The element to attach the marker to.
Optional Arguments
icon: The icon that the radar blips should be. Valid values are:
size: The size of the radar blip. Only applicable to the Marker icon. Default value is 2.
r: The amount of red in the blip's color (0 - 255). Only applicable to the Marker icon. Default is 255.
g: The amount of green in the blip's color (0 - 255). Only applicable to the Marker icon. Default is 0.
b: The amount of blue in the blip's color (0 - 255). Only applicable to the Marker icon. Default is 0.
a: The amount of alpha in the blip's color (0 - 255). Only applicable to the Marker icon. Default is 255.
ordering: This defines the blip's Z-level ordering (-32768 - 32767). Default is 0.
visibleDistance: The maximum distance from the camera at which the blip is still visible (0 - 65535)
visibleTo: What elements can see the blip. Defaults to visible to everyone. See visibility.