Select to view content in your preferred language

Inherited functions ForEach

341
1
08-01-2023 05:04 AM
majdkassab
Emerging Contributor

I have no idea on how to use this Inherited functions loop through objects from the featureLayer.
the objects are poles from the featurelayer. 
the docs lack a lot of explaining.
https://developers.arcgis.com/kotlin/api-reference/arcgis-maps-kotlin/com.arcgismaps.data/-feature-q...

0 Kudos
1 Reply
SorenRoth
Esri Contributor

The functions come from the Iterable interface. FeatureQueryResult inherits from FeatureSet, which inherits from Kotlin Iterable. Please see the Kotlin Iterable documentation.

0 Kudos