LiveMap API
Loading...
Searching...
No Matches
livemap.layer.marker.Ellipse Class Reference

The ellipse marker is used to draw ellipse overlays on the map. More...

Inheritance diagram for livemap.layer.marker.Ellipse:
Collaboration diagram for livemap.layer.marker.Ellipse:

Public Member Functions

 Ellipse ()
 Create a new ellipse at 0,0 with a random id.
 Ellipse (string id, Point point, EllipseOptions? options=null)
 Create a new ellipse.
Public Member Functions inherited from livemap.layer.marker.Marker
string ToJson ()
 Serializes this object to a JSON string.

Static Public Member Functions

static Ellipse 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 ellipse's center.
new? EllipseOptions 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.
BaseOptionsOptions [get, set]
 Optional settings.
TooltipOptionsTooltip [get, set]
 Optional tooltip settings.
PopupOptionsPopup [get, set]
 Optional popup settings.

Additional Inherited Members

Protected Member Functions inherited from livemap.layer.marker.Marker
 Marker (string type, string id)

Detailed Description

The ellipse marker is used to draw ellipse overlays on the map.

You can make perfect circles with the Circle

Constructor & Destructor Documentation

◆ Ellipse() [1/2]

livemap.layer.marker.Ellipse.Ellipse ( )
inline

Create a new ellipse at 0,0 with a random id.

◆ Ellipse() [2/2]

livemap.layer.marker.Ellipse.Ellipse ( string id,
Point point,
EllipseOptions? options = null )
inline

Create a new ellipse.

Parameters
idUnique identifying key
pointAbsolute (not relative to spawn) world coordinates for the ellipse's center
optionsOptional settings for the ellipse

Member Function Documentation

◆ FromJson()

Ellipse livemap.layer.marker.Ellipse.FromJson ( string json)
static

Property Documentation

◆ Options

new? EllipseOptions livemap.layer.marker.Ellipse.Options
getset

◆ Point

Point livemap.layer.marker.Ellipse.Point
getset

Absolute (not relative to spawn) world coordinates for the ellipse's center.


The documentation for this class was generated from the following file: