Hi community 👋
After updating to the latest version of the ArcGIS Maps SDK, we started experiencing a runtime error when trying to construct a FeatureCollectionTable using the following constructor:
FeatureCollectionTable(geoElements, fields)
This throws the following exception:
Unsupported element type
After investigation, we resolved the issue by switching to the constructor that allows explicitly setting the geometry type:
FeatureCollectionTable(fields, geometryType, spatialReference, hasZ, hasM)
This resolved the error, but we believe the SDK behavior change should be documented or handled with a clearer exception.
🛠 SDK Version: 200.7.0
:mobile_phone: Platform: Android
:package: Language: Kotlin
Would appreciate any insights or clarification on whether this change is intentional and if there's an updated recommendation for working with FeatureCollectionTable.
Thanks in advance!
Solved! Go to Solution.
Hello,
Thank you for your response. We've identified a bug that affects the Kotlin SDK only. We will have it fixed in the 200.8.0 release, until then the workaround you have identified may be used.
Hello,
Thank you for your response. We've identified a bug that affects the Kotlin SDK only. We will have it fixed in the 200.8.0 release, until then the workaround you have identified may be used.