Position Position Struct

Definition

A struct that has a latitude and longitude, stored as doubles.

public struct Position
type Position = struct
Inheritance
PositionPosition

Constructors

Position(Double, Double) Position(Double, Double)

Constructs a new Position structure with a given latitude and longitude.

Properties

Latitude Latitude

Gets the latitude of this position in decimal degrees.

Longitude Longitude

Gets the longitude of this position in decimal degrees.

Methods

Equals(Object) Equals(Object)

Returns a Boolean value that indicates whether or not obj is another Xamarin.Forms.Position structure and represents exactly the same latitude and longitude as this one.

GetHashCode() GetHashCode()

Returns the hash code for this instance.

Operators

Equality(Position, Position) Equality(Position, Position)

Returns a Boolean value that indicates whether or not left represents exactly the same latitude and longitude as right.

Inequality(Position, Position) Inequality(Position, Position)

Returns a Boolean value that indicates whether or not left and right represent different latitudes or longitudes.

Applies to