Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Geopoint Class
Definition
- Namespace:
- Windows.Devices.Geolocation
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes a geographic point.
public ref class Geopoint sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Geolocation.IGeopointFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class Geopoint final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Geolocation.IGeopointFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class Geopoint final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Geolocation.IGeopointFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class Geopoint
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Geolocation.IGeopointFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class Geopoint
function Geopoint(position, altitudeReferenceSystem, spatialReferenceId)
Public NotInheritable Class Geopoint
- Inheritance
- Attributes
- Implements
Windows requirements
| Requirements | Description |
|---|---|
| Device family |
Windows 10 (introduced in 10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
| App capabilities |
location
|
Constructors
| Name | Description |
|---|---|
| Geopoint(BasicGeoposition, AltitudeReferenceSystem, UInt32) |
Create a geographic point object for the given position, altitude reference system, and spatial reference Id. |
| Geopoint(BasicGeoposition, AltitudeReferenceSystem) |
Create a geographic point object for the given position and altitude reference system. |
| Geopoint(BasicGeoposition) |
Create a geographic point object for the given position. |
Properties
| Name | Description |
|---|---|
| AltitudeReferenceSystem |
The altitude reference system of the geographic point. GeoPoint will default to a value of unspecified when constructed without an altitude reference system. The behavior of an unspecified altitude reference system will depend on the API. A MapIcon will treat an unspecified reference system as Surface with an altitude value of 0 and the supplied value for altitude will be ignored. |
| GeoshapeType |
The type of geographic shape. |
| Position |
The position of a geographic point. |
| SpatialReferenceId |
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. |
Applies to
See also
Feedback
Was this page helpful?
