I
InsightNexus

Class GeoLine | Azure SDK for Net

Author

Emma Terry

Published Feb 16, 2026

Represents a line geometry that consists of multiple coordinates.

Inheritance

GeoLine

Inherited Members
Namespace: Azure.Core.GeoJson
Assembly: Azure.Core.Experimental.dll
Syntax
public sealed class GeoLine : Azure.Core.GeoJson.GeoObject

Constructors

GeoLine(IEnumerable<GeoPosition>)

Initializes new instance of GeoLine.

Declaration
public GeoLine (System.Collections.Generic.IEnumerable<Azure.Core.GeoJson.GeoPosition> coordinates);
Parameters

GeoLine(IEnumerable<GeoPosition>, GeoBoundingBox, IReadOnlyDictionary<String,Object>)

Initializes new instance of GeoLine.

Declaration
public GeoLine (System.Collections.Generic.IEnumerable<Azure.Core.GeoJson.GeoPosition> coordinates, Azure.Core.GeoJson.GeoBoundingBox boundingBox, System.Collections.Generic.IReadOnlyDictionary<string,object> additionalProperties);
Parameters

Properties

Positions

Declaration
public System.Collections.Generic.IReadOnlyList<Azure.Core.GeoJson.GeoPosition> Positions { get; }
Property Value