Dela via


Geopath Class

Definition

Represents an ordered series of geographic points.

public ref class Geopath sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Geolocation.IGeopathFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class Geopath final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Geolocation.IGeopathFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class Geopath final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Geolocation.IGeopathFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class Geopath
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Geolocation.IGeopathFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class Geopath
function Geopath(positions, altitudeReferenceSystem, spatialReferenceId)
Public NotInheritable Class Geopath
Inheritance
Object Platform::Object IInspectable Geopath
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
location

Constructors

Geopath(IIterable<BasicGeoposition>, AltitudeReferenceSystem, UInt32)

Initializes a new instance of the Geopath class with the specified collection of positions and with the specified altitude reference system and spatial reference ID (SRID).

Geopath(IIterable<BasicGeoposition>, AltitudeReferenceSystem)

Initializes a new instance of the Geopath class with the specified collection of positions and with the specified altitude reference system.

Geopath(IIterable<BasicGeoposition>)

Initializes a new instance of the Geopath class with the specified collection of positions.

Properties

AltitudeReferenceSystem

Gets the altitude reference system used by the Geopath.

GeoshapeType

Gets the type of geographic shape represented by the Geopath.

Positions

Gets the collection of geographic points that define the Geopath.

SpatialReferenceId

Gets the spatial reference ID (SRID) used by the Geopath.

Applies to

See also