Load and display KML files from various sources, including URLs, local files, and Portal items..
How it works
The sample displays three different KML files, each from a different source:
- URL: a map of the significant weather outlook in the U.S. produced by NOAA/NWS. It uses KML network links to always show the latest data.
- Local File: a map of U.S. state capitals file included in the app bundle. It doesn't define an icon, so the default pushpin is used for the points.
- Portal Item: a map of U.S. states