laptop and a wrench

Bug

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.

Last Published: August 24, 2020 ArcGIS Runtime SDK
Bug ID Number BUG-000133050
SubmittedAugust 13, 2020
Last ModifiedJune 5, 2024
Applies toArcGIS Runtime SDK
Version found100.8
Operating SystemApple iOS
Operating System Version13.0x
StatusWill Not Be Addressed

Additional Information

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

Workaround

  • 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.

Steps to Reproduce

Bug ID: BUG-000133050

Software:

  • ArcGIS Runtime SDK

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options