Represents a marker on the map.
More...
|
| string | ToJson () |
| | Serializes this object to a JSON string.
|
|
| static T | FromJson< T > (string json) |
| | Deserializes a JSON string into an instance of this object.
|
Represents a marker on the map.
◆ Marker()
| livemap.layer.marker.Marker.Marker |
( |
string | type, |
|
|
string | id ) |
|
inlineprotected |
◆ FromJson< T >()
| T livemap.layer.marker.Marker.FromJson< T > |
( |
string | json | ) |
|
|
inlinestatic |
Deserializes a JSON string into an instance of this object.
- Parameters
-
| json | JSON string representing this object |
- Returns
- A new instance of this object
- Exceptions
-
| Newtonsoft.Json.JsonSerializationException | Error 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.JsonSerializationException | Error serializing object to json |
◆ Id
| string livemap.layer.marker.Marker.Id |
|
get |
Unique id for the marker.
◆ Options
◆ Popup
◆ Tooltip
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: