Show / Hide Table of Contents

Method GetGeoElementsAsync

GetGeoElementsAsync()

Gets the collection of geoelements represented by this aggregate geoelement.

Declaration
public async Task<IReadOnlyList<GeoElement>> GetGeoElementsAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<GeoElement>>

A task that represents the asynchronous get geoelements operation. The value of the task result contains a read-only collection of GeoElement objects.

Remarks

For an aggregate geoelement on a feature layer, this method returns a collection of features. For a graphics overlay, it returns a collection of graphics.

As a user navigates the map, aggregate geoelements update dynamically depending on the map's scale and extent. When aggregate geoelements are re-created, new aggregate geoelements are drawn. References to AggregateGeoElement instances that are no longer drawn on the map retain their association to the geoelements they aggregated.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.4 - 200.7
.NET200.4 - 200.7
.NET Windows200.4 - 200.7
.NET Android200.4 - 200.7
.NET iOS200.4 - 200.7
.NET Framework200.4 - 200.7
UWP200.4 - 200.7
In This Article
Back to top Copyright © 2022 Esri.