The property 'rootNodes' of the class AGSKMLDataset is returning an empty array when a KML/KMZ file is imported in the iOS application as KML or KMZ files.
上次发布: August 24, 2020ArcGIS Runtime SDK
漏洞 ID 编号
BUG-000133050
已提交
August 13, 2020
上次修改时间
June 5, 2024
适用范围
ArcGIS Runtime SDK
找到的版本
100.8
操作系统
Apple iOS
操作系统版本
13.0x
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
The data has to be loaded before any properties for the object are accessed. Load the dataset asynchronously to access the contents. Refer to the following documentation pages for more information:
- Loadable Pattern for Asynchronous Resources: https://developers.arcgis.com/ios/latest/swift/guide/loadable-pattern.htm
- KMLDataset Class Load Method: https://developers.arcgis.com/ios/latest/api-reference/interface_a_g_s_k_m_l_dataset.html#ab77285cdf36b19a70f9e0881b1498b36
解决办法
The property "rootNodes" returns the array with the value of the root node only when the KML dataset is created inside the code, instead of imported it from a KML file or KML URL.