|
LiveMap API
|
The icon marker is used to display clickable/draggable icons on the map. More...
Public Member Functions | |
| Icon () | |
| Create a new icon at 0,0 with a random id. | |
| Icon (string id, Point point, IconOptions? options=null) | |
| Create a new icon. | |
| Public Member Functions inherited from livemap.layer.marker.Marker | |
| string | ToJson () |
| Serializes this object to a JSON string. | |
Static Public Member Functions | |
| static Icon | FromJson (string json) |
| Static Public Member Functions inherited from livemap.layer.marker.Marker | |
| static T | FromJson< T > (string json) |
| Deserializes a JSON string into an instance of this object. | |
Properties | |
| Point | Point [get, set] |
| Absolute (not relative to spawn) world coordinates for the icon's anchor. | |
| Point? | TargetPoint [get, set] |
| Optional target point (relative to spawn) for translocators and similar markers. | |
| new? IconOptions | Options [get, set] |
| Properties inherited from livemap.layer.marker.Marker | |
| string | Type [get] |
| Type identifier for the marker. | |
| string | Id [get] |
| Unique id for the marker. | |
| BaseOptions? | Options [get, set] |
| Optional settings. | |
| TooltipOptions? | Tooltip [get, set] |
| Optional tooltip settings. | |
| PopupOptions? | Popup [get, set] |
| Optional popup settings. | |
Additional Inherited Members | |
| Protected Member Functions inherited from livemap.layer.marker.Marker | |
| Marker (string type, string id) | |
The icon marker is used to display clickable/draggable icons on the map.
This is mostly used to mark specific points in the world such as players, translocators, traders, cities, etc.
You can highlight entire areas instead of just a point with the Polygon
|
inline |
Create a new icon at 0,0 with a random id.
|
inline |
Create a new icon.
| id | Unique identifying key |
| point | Absolute (not relative to spawn) world coordinates for the icon's anchor |
| options | Optional settings for the icon |
|
static |
|
getset |
|
getset |
Absolute (not relative to spawn) world coordinates for the icon's anchor.
|
getset |
Optional target point (relative to spawn) for translocators and similar markers.