Skip to main content
Version: 4.2

GeoPoint

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.2.0.0)

An immutable geographic coordinate in degrees, latitude first.

public struct GeoPoint : IEquatable<GeoPoint>

Web Mercator rendering clamps latitude to approximately 85.051129 degrees.

Constructors​

Instance member GeoPoint(latitude, longitude)​

Creates a validated geographic coordinate.

NameTypeDescription
latitudeDoubleFinite latitude between -90 and 90 degrees.
longitudeDoubleFinite longitude between -180 and 180 degrees.

Properties​

Instance member Latitude​

Double: Gets the latitude in degrees.

Instance member Longitude​

Double: Gets the longitude in degrees.

Used By​

NameDescription
GeoPoint.EqualsCompares coordinates exactly.
MapClickEventArgs.LocationGets the geographic click position in degrees.
MapViewEventArgs.CenterGets the viewport center.
MapMarker.LocationGets or sets: Geographic marker position in degrees.
MapView.CenterGets or sets the viewport center in degrees. The default is (0, 0).
MapView.PanToCenters the map on a coordinate while preserving Zoom.