Share via


Position(Double, Double) Constructor

Definition

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

public Position (double latitude, double longitude);
new Xamarin.Forms.Maps.Position : double * double -> Xamarin.Forms.Maps.Position

Parameters

latitude
System.Double

The latitude of the new position in degrees, as a double. This value will be clamped between -90.0 and 90.0, inclusive.

longitude
System.Double

The longitude of the new position, as a double. This value will be clamped between -180.0 and 180.0, inclusive.

Applies to