Tile - YMap - Get Object Map Marker – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Get Object Map Marker(Object, Id)

YlandsTile-1157.png

static getObjectMarker(targetObject: YEntity | YLogic | YGroup, id: string): YMapMarker;

Parameters

targetObject

Target parent object of the map marker.

id

Unique ID of the map marker.

Returns

YMapMarker

Availability

Server, Not in Edu

Description

Returns a map marker object of the target parent object by it's unique ID.