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
Target | Versions |
---|---|
.NET Standard 2.0 | 200.4 - 200.5 |
.NET | 200.4 - 200.5 |
.NET Windows | 200.4 - 200.5 |
.NET Android | 200.4 - 200.5 |
.NET iOS | 200.4 - 200.5 |
.NET Framework | 200.4 - 200.5 |
UWP | 200.4 - 200.5 |