Geopoint class

Geopoint class

Describes a geographic point.

Syntax


var geopoint = new Windows.Devices.Geolocation.Geopoint(basicGeoposition);
var geopoint = new Windows.Devices.Geolocation.Geopoint(basicGeoposition, altitudeReferenceSystem);
var geopoint = new Windows.Devices.Geolocation.Geopoint(basicGeoposition, altitudeReferenceSystem, uInt32);

Members

The Geopoint class has these types of members:

Constructors

The Geopoint class has these constructors.

ConstructorDescription
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.

 

Properties

The Geopoint class has these properties.

PropertyAccess typeDescription

AltitudeReferenceSystem

Read-only

The altitude reference system of the geographic point.

GeoshapeType

Read-only

The type of geographic shape.

Position

Read-only

The position of a geographic point.

SpatialReferenceId

Read-only

The spatial reference identifier for the geographic point, corresponding to a spatial reference system based on the specific ellipsoid used for either flat-earth mapping or round-earth mapping.

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Devices.Geolocation
Windows::Devices::Geolocation [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Devices.Geolocation
Windows::Devices::Geolocation [C++]

Metadata

Windows.winmd

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Version(0x06030000)]

See also

Object
IGeoshape

 

 

Show:
© 2016 Microsoft