(ArcGIS iOS swift SDK 100) Cannot access AGSArcGISMapImageSubLayer.sublayers if layer is a group layer in map service (mxd). The app is hang on?
Having the same issue, any luck on work around yet?
This is still a bug. Android SDK 100.0 do not have this bug.
The solution is reflection please see the code:
(lyr is an AGSArcGISMapImageSubLayer object)
let sublayers=lyr.value(forKey:"_subLayers") as! NSMutableArray
for sublyr in sublayers{
let slyr=(sublyr as! AGSArcGISMapImageSubLayer)
…...
}
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.