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

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

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

Public Member Functions

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

Static Public Member Functions

static Circle 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 circle's center.
new? CircleOptions 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 circle marker is used to draw circle overlays on the map.

You can make distorted circles with the Ellipse

Constructor & Destructor Documentation

◆ Circle() [1/2]

livemap.layer.marker.Circle.Circle ( )
inline

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

◆ Circle() [2/2]

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

Create a new circle.

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

Member Function Documentation

◆ FromJson()

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

Property Documentation

◆ Options

new? CircleOptions livemap.layer.marker.Circle.Options
getset

◆ Point

Point livemap.layer.marker.Circle.Point
getset

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


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