GeoJsonPoint Class

Version 1.0.0-beta002
.NET Framework 4.7
Namespace Skybrud.Essentials.Maps.GeoJson.Geometry
Assembly Skybrud.Essentials.Maps.dll
Visibility Public
Inheritance

Class representing a GeoJSON Point geometry.

public class GeoJsonPoint : GeoJsonGeometry { }

Properties

Type Name Summary
Double X

Gets or sets the X coordinate of the point.

Double Y

Gets or sets the Y coordinate of the point.

Double Altitude

Gets or sets the altitude of the point.

GeoJsonCoordinates Coordinates

Gets or sets the coordinates of the point.

GeoJsonType Type (inherited from GeoJsonObject)

Gets the type of the object - eg. Feature.

Methods

Load(string) (static)

Loads and parses the feature at the specified path into an instance of GeoJsonPoint.

Parse(string) (static)

Parses the specified json string into an instance of GeoJsonPoint.

Parse(JObject) (static)

Parses the specified json object into an instance of GeoJsonPoint.

Returns an instance of IPoint representing this GeoJSON point.

Inherited from GeoJsonObject

Save(string) (virtual)

Saves a JSON representation of this instance to the specified path.

Saves a JSON representation of this instance to the specified path.

Returns a JSON representation of this instance.

Returns a JSON representation of this instance.