We want to create an empty FeatureLayer in the new ArcGIS Maps SDK and fill it with items coming from our backend. Documentation only tells how to create a FeatureLayer from URLs or files (see https://developers.arcgis.com/kotlin/sample-code/add-feature-layers/).
We are on Maps SDK 200.1.
Can you help out?
Solved! Go to Solution.
Hi,
To work with data from external sources, you can also use a FeatureCollectionLayer. We don't have a sample yet for it in Kotlin 200.x, but here is an equivalent one in java in 100.x that can be translated to Kotlin.
https://github.com/Esri/arcgis-runtime-samples-android/tree/main/java/feature-collection-layer
Thanks
Rama
Hi,
To work with data from external sources, you can also use a FeatureCollectionLayer. We don't have a sample yet for it in Kotlin 200.x, but here is an equivalent one in java in 100.x that can be translated to Kotlin.
https://github.com/Esri/arcgis-runtime-samples-android/tree/main/java/feature-collection-layer
Thanks
Rama
Thanks @RamaChintapalli, I managed to load our POIs into the FeatureCollectionLayer and display them.