Geopoint Constructors

Definition

Overloads

Geopoint(BasicGeoposition)

Create a geographic point object for the given position.

Geopoint(BasicGeoposition, AltitudeReferenceSystem)

Create a geographic point object for the given position and altitude reference system.

Geopoint(BasicGeoposition, AltitudeReferenceSystem, UInt32)

Create a geographic point object for the given position, altitude reference system, and spatial reference Id.

Geopoint(BasicGeoposition)

Create a geographic point object for the given position.

public:
 Geopoint(BasicGeoposition position);
 Geopoint(BasicGeoposition position);
public Geopoint(BasicGeoposition position);
function Geopoint(position)
Public Sub New (position As BasicGeoposition)

Parameters

position
BasicGeoposition

Create a geographic point object for the given position.

Windows 10 requirements

App capabilities
location

Remarks

The constructor will throw an exception if the provided BasicGeoposition has a latitude is less than -90 or greater than 90.

Applies to

Product Introduced

Geopoint(BasicGeoposition, AltitudeReferenceSystem)

Create a geographic point object for the given position and altitude reference system.

public:
 Geopoint(BasicGeoposition position, AltitudeReferenceSystem altitudeReferenceSystem);
 Geopoint(BasicGeoposition position, AltitudeReferenceSystem altitudeReferenceSystem);
public Geopoint(BasicGeoposition position, AltitudeReferenceSystem altitudeReferenceSystem);
function Geopoint(position, altitudeReferenceSystem)
Public Sub New (position As BasicGeoposition, altitudeReferenceSystem As AltitudeReferenceSystem)

Parameters

position
BasicGeoposition

Create a geographic point object for the given position.

altitudeReferenceSystem
AltitudeReferenceSystem

The altitude reference system of the new point.

Windows 10 requirements

App capabilities
location

Applies to

Product Introduced

Geopoint(BasicGeoposition, AltitudeReferenceSystem, UInt32)

Create a geographic point object for the given position, altitude reference system, and spatial reference Id.

public:
 Geopoint(BasicGeoposition position, AltitudeReferenceSystem altitudeReferenceSystem, unsigned int spatialReferenceId);
 Geopoint(BasicGeoposition position, AltitudeReferenceSystem altitudeReferenceSystem, uint32_t spatialReferenceId);
public Geopoint(BasicGeoposition position, AltitudeReferenceSystem altitudeReferenceSystem, uint spatialReferenceId);
function Geopoint(position, altitudeReferenceSystem, spatialReferenceId)
Public Sub New (position As BasicGeoposition, altitudeReferenceSystem As AltitudeReferenceSystem, spatialReferenceId As UInteger)

Parameters

position
BasicGeoposition

Create a geographic point object for the given position.

altitudeReferenceSystem
AltitudeReferenceSystem

The altitude reference system of the new point.

spatialReferenceId
UInt32

The spatial reference Id of the new point.

Windows 10 requirements

App capabilities
location

Applies to

Product Introduced