I have created a web map in ArcGIS Online. Using the ArcGIS Maps SDK for JavaScript I can create a view of this map using JavaScript and HTML.
The webmap works and I can view all data layers within this map.
I would like to feed in additional data using a GeoRSS Feed. I can add the feed directly into the webmap or I can load the data after the webmap is loaded using the "esri/layers/GeoRSSLayer" Constructor. I have used both methodologies and it works as expected.
I have been using the documentation from the ESRI Developer Site.
https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GeoRSSLayer.html
I can view the data from the GeoRSS Feed, as well as interact with the GeoRSS data when clicking on the data in the map view.
I have seen in previous versions of the SDK that it is possible to access the attributes of the GeoRSS using the "items" Property. This returns an array of the features within a GeoRSS.
https://developers.arcgis.com/javascript/3/jsapi/georsslayer-amd.html
var georssLayer = new GeoRSSLayer( ... );
array.forEach(georssLayer.items,function(item){
var attributes = item.attributes;
});
Is there a way to access the features / attributes of a GeoRSS using the latest SDK (June 2023 - v4.27)?