Geopath Geopath Geopath Geopath Class

Definition

Represents an ordered series of geographic points.

public : sealed class Geopath : IGeopath, IGeoshapepublic sealed class Geopath : IGeopath, IGeoshapePublic NotInheritable Class Geopath Implements IGeopath, IGeoshape// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

Geopath(IIterable) Geopath(IIterable) Geopath(IIterable) Geopath(IIterable)

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

public : Geopath(IIterable<BasicGeoposition> positions)public Geopath(IEnumerable<BasicGeoposition> positions)Public Sub New(positions As IEnumerable<BasicGeoposition>)// You can use this method in JavaScript.
Parameters
positions
IIterable<BasicGeoposition> IEnumerable<BasicGeoposition> IEnumerable<BasicGeoposition> IEnumerable<BasicGeoposition>

The collection of positions to use to create the new Geopath. For more info, see the Positions property.

See Also

Geopath(IIterable, AltitudeReferenceSystem) Geopath(IIterable, AltitudeReferenceSystem) Geopath(IIterable, AltitudeReferenceSystem) Geopath(IIterable, AltitudeReferenceSystem)

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

public : Geopath(IIterable<BasicGeoposition> positions, AltitudeReferenceSystem altitudeReferenceSystem)public Geopath(IEnumerable<BasicGeoposition> positions, AltitudeReferenceSystem altitudeReferenceSystem)Public Sub New(positions As IEnumerable<BasicGeoposition>, altitudeReferenceSystem As AltitudeReferenceSystem)// You can use this method in JavaScript.
Parameters
positions
IIterable<BasicGeoposition> IEnumerable<BasicGeoposition> IEnumerable<BasicGeoposition> IEnumerable<BasicGeoposition>

The collection of positions to use to create the new Geopath. For more info, see the Positions property.

altitudeReferenceSystem
AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem

The altitude reference system to use to create the new Geopath. For more info, see the AltitudeReferenceSystem property.

See Also

Geopath(IIterable, AltitudeReferenceSystem, UInt32) Geopath(IIterable, AltitudeReferenceSystem, UInt32) Geopath(IIterable, AltitudeReferenceSystem, UInt32) Geopath(IIterable, 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).

public : Geopath(IIterable<BasicGeoposition> positions, AltitudeReferenceSystem altitudeReferenceSystem, unsigned int spatialReferenceId)public Geopath(IEnumerable<BasicGeoposition> positions, AltitudeReferenceSystem altitudeReferenceSystem, UInt32 spatialReferenceId)Public Sub New(positions As IEnumerable<BasicGeoposition>, altitudeReferenceSystem As AltitudeReferenceSystem, spatialReferenceId As UInt32)// You can use this method in JavaScript.
Parameters
positions
IIterable<BasicGeoposition> IEnumerable<BasicGeoposition> IEnumerable<BasicGeoposition> IEnumerable<BasicGeoposition>

The collection of positions to use to create the new Geopath. For more info, see the Positions property.

altitudeReferenceSystem
AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem

The altitude reference system to use to create the new Geopath. For more info, see the AltitudeReferenceSystem property.

spatialReferenceId
unsigned int UInt32 UInt32 UInt32

The spatial reference ID (SRID) to use to create the new Geopath. For more info, see the SpatialReferenceId property.

See Also

Properties

AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem

Gets the altitude reference system used by the Geopath.

public : AltitudeReferenceSystem AltitudeReferenceSystem { get; }public AltitudeReferenceSystem AltitudeReferenceSystem { get; }Public ReadOnly Property AltitudeReferenceSystem As AltitudeReferenceSystem// You can use this property in JavaScript.

GeoshapeType GeoshapeType GeoshapeType GeoshapeType

Gets the type of geographic shape represented by the Geopath.

public : GeoshapeType GeoshapeType { get; }public GeoshapeType GeoshapeType { get; }Public ReadOnly Property GeoshapeType As GeoshapeType// You can use this property in JavaScript.
Value
GeoshapeType GeoshapeType GeoshapeType GeoshapeType

The type of geographic shape represented by the Geopath.

Positions Positions Positions Positions

Gets the collection of geographic points that define the Geopath.

public : IVectorView<BasicGeoposition> Positions { get; }public IReadOnlyList<BasicGeoposition> Positions { get; }Public ReadOnly Property Positions As IReadOnlyList<BasicGeoposition>// You can use this property in JavaScript.
Value
IVectorView<BasicGeoposition> IReadOnlyList<BasicGeoposition> IReadOnlyList<BasicGeoposition> IReadOnlyList<BasicGeoposition>

The collection of geographic points that define the Geopath.

SpatialReferenceId SpatialReferenceId SpatialReferenceId SpatialReferenceId

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

public : unsigned int SpatialReferenceId { get; }public uint SpatialReferenceId { get; }Public ReadOnly Property SpatialReferenceId As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

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