Tile - YMap - Add World Map Marker
Revision as of 12:16, 12 November 2021 by YlandsClassyBot (talk | contribs) (Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Add World Map Marker(Position, Id, Image, Backgro...")
Add World Map Marker(Position, Id, Image, Background color, Visible by default)
static addWorldMarker(position: YVector3, id: string, image: YCustomImage | YImage, backgroundColor: YColor, visibleByDefault: boolean): YMapMarker;
Parameters
position
Target position of the map marker in world coordinates.
id
Unique ID of the map marker.
image
Foreground image of the map marker.
backgroundColor
Color of the background image of the map marker.
visibleByDefault
Sets whether the map marker is automatically displayed to every player.
Returns
YMapMarker
Availability
Description
Creates a new unbound map marker object placed on target world coordinates.