GeoRSSLayer

This sample uses the GeoRSSLayer to display a sample GeoRSS feed containing one point and one polygon.

Use dark colors for code blocksCopy
1
2
3
4
// Point to the rss feed url
const layer = new GeoRSSLayer({
  url: "https://arcgis.github.io/arcgis-samples-javascript/sample-data/layers-georss/sample-georss.xml"
});

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.