GeoPoint
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
An immutable geographic coordinate in degrees, latitude first.
- C#
- VB.NET
public struct GeoPoint : IEquatable<GeoPoint>
Public Structure GeoPoint
Implements IEquatable(Of GeoPoint)
Web Mercator rendering clamps latitude to approximately 85.051129 degrees.
Constructors
GeoPoint(latitude, longitude)
Creates a validated geographic coordinate.
| Name | Type | Description |
|---|---|---|
| latitude | Double | Finite latitude between -90 and 90 degrees. |
| longitude | Double | Finite longitude between -180 and 180 degrees. |
Properties
Latitude
Double: Gets the latitude in degrees.
Longitude
Double: Gets the longitude in degrees.
Used By
| Name | Description |
|---|---|
| GeoPoint.Equals | Compares coordinates exactly. |
| MapClickEventArgs.Location | Gets the geographic click position in degrees. |
| MapViewEventArgs.Center | Gets the viewport center. |
| MapMarker.Location | Gets or sets: Geographic marker position in degrees. |
| MapView.Center | Gets or sets the viewport center in degrees. The default is (0, 0). |
| MapView.PanTo | Centers the map on a coordinate while preserving Zoom. |