Share via


GeoJsonExtensions.ReadGeoJsonPoint(JsonReader) Method

Definition

Reads a Geo-JSON point into a GeographyPoint instance, or throws JsonSerializationException if the reader is not positioned on the beginning of a valid Geo-JSON point.

public static Microsoft.Spatial.GeographyPoint ReadGeoJsonPoint(this Newtonsoft.Json.JsonReader reader);
static member ReadGeoJsonPoint : Newtonsoft.Json.JsonReader -> Microsoft.Spatial.GeographyPoint
<Extension()>
Public Function ReadGeoJsonPoint (reader As JsonReader) As GeographyPoint

Parameters

reader
Newtonsoft.Json.JsonReader

The JSON reader from which to read a Geo-JSON point.

Returns

A GeographyPoint instance.

Applies to