Share via


GeoPointCollection Class

Definition

Represents a geometry that is composed of multiple GeoPoint.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Core.GeoJson.GeoJsonConverter))]
public sealed class GeoPointCollection : Azure.Core.GeoJson.GeoObject, System.Collections.Generic.IEnumerable<Azure.Core.GeoJson.GeoPoint>, System.Collections.Generic.IReadOnlyCollection<Azure.Core.GeoJson.GeoPoint>, System.Collections.Generic.IReadOnlyList<Azure.Core.GeoJson.GeoPoint>
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Core.GeoJson.GeoJsonConverter))>]
type GeoPointCollection = class
    inherit GeoObject
    interface IReadOnlyList<GeoPoint>
    interface seq<GeoPoint>
    interface IEnumerable
    interface IReadOnlyCollection<GeoPoint>
Public NotInheritable Class GeoPointCollection
Inherits GeoObject
Implements IEnumerable(Of GeoPoint), IReadOnlyCollection(Of GeoPoint), IReadOnlyList(Of GeoPoint)
Inheritance
GeoPointCollection
Attributes
Implements

Constructors

GeoPointCollection(IEnumerable<GeoPoint>, GeoBoundingBox, IReadOnlyDictionary<String,Object>)

Initializes new instance of GeoPointCollection.

GeoPointCollection(IEnumerable<GeoPoint>)

Initializes new instance of GeoPointCollection.

Properties

BoundingBox

Represents information about the coordinate range of the GeoObject.

(Inherited from GeoObject)
Coordinates

Returns a view over the coordinates array that forms this geometry.

Count

Gets the number of elements in the collection.

Item[Int32]

Gets the element at the specified index in the read-only list.

Type

Gets the GeoJSON type of this object.

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

ToString()

Converts an instance of GeoObject to a GeoJSON representation.

(Inherited from GeoObject)
TryGetCustomProperty(String, Object)

Tries to get a value of a custom property associated with the GeoObject.

(Inherited from GeoObject)

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

Applies to