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

Represents a marker on the map. More...

Inheritance diagram for livemap.layer.marker.Marker:

Public Member Functions

string ToJson ()
 Serializes this object to a JSON string.

Static Public Member Functions

static T FromJson< T > (string json)
 Deserializes a JSON string into an instance of this object.

Protected Member Functions

 Marker (string type, string id)

Properties

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.

Detailed Description

Represents a marker on the map.

Constructor & Destructor Documentation

◆ Marker()

livemap.layer.marker.Marker.Marker ( string type,
string id )
inlineprotected

Member Function Documentation

◆ FromJson< T >()

T livemap.layer.marker.Marker.FromJson< T > ( string json)
inlinestatic

Deserializes a JSON string into an instance of this object.

Parameters
jsonJSON string representing this object
Returns
A new instance of this object
Exceptions
Newtonsoft.Json.JsonSerializationExceptionError deserializing json to object

◆ ToJson()

string livemap.layer.marker.Marker.ToJson ( )

Serializes this object to a JSON string.

Returns
JSON string representing this object
Exceptions
Newtonsoft.Json.JsonSerializationExceptionError serializing object to json

Property Documentation

◆ Id

string livemap.layer.marker.Marker.Id
get

Unique id for the marker.

◆ Options

BaseOptions? livemap.layer.marker.Marker.Options
getsetprotected

Optional settings.

◆ Popup

PopupOptions? livemap.layer.marker.Marker.Popup
getset

Optional popup settings.

◆ Tooltip

TooltipOptions? livemap.layer.marker.Marker.Tooltip
getset

Optional tooltip settings.

◆ Type

string livemap.layer.marker.Marker.Type
get

Type identifier for the marker.


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