Class GeoCollection

java.lang.Object
com.azure.core.models.GeoObject
com.azure.core.models.GeoCollection
All Implemented Interfaces:
com.azure.json.JsonSerializable<GeoObject>

public final class GeoCollection extends GeoObject

Represents a heterogeneous collection of GeoObjects.

This class encapsulates a list of geometry objects and provides methods to access these objects. The objects can be of any type that extends GeoObject.

This class is useful when you want to work with a collection of geometry objects in a read-only manner. For example, you can use it to represent a complex geographic feature that is composed of multiple simple geographic features.

See Also: