ParseGeoPoint represents a latitude / longitude point that may be associated
with a key in a ParseObject or used as a reference point for geo queries.
This allows proximity-based queries on the key.
Only one key in a class may contain a GeoPoint.
Namespace: Parse
Assembly: Parse (in Parse.dll) Version: 1.5.5.0 (1.5.5.0)
Syntax
The ParseGeoPoint type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ParseGeoPoint |
Constructs a ParseGeoPoint with the specified latitude and longitude.
|
Properties
Name | Description | |
---|---|---|
Latitude |
Gets or sets the latitude of the GeoPoint. Valid range is [-90, 90].
Extremes should not be used.
| |
Longitude |
Gets or sets the longitude. Valid range is [-180, 180].
Extremes should not be used.
|
Methods
Name | Description | |
---|---|---|
DistanceTo |
Get the distance in radians between this point and another GeoPoint. This is the smallest angular
distance between the two points.
| |
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
See Also