GeoRSS:
GPX:
KML:
KMZ:
Layer Options:
GeoXmlLayer - Local Data Sample
This sample shows how to load geospatial XML data from locally hosted files.
Note:
Not all file and mime types are enabled in all servers. If using .NET, it is recommended to add the following to the web.config file:
<system.webServer>
<staticContent>
<mimeMap fileExtension=".json" mimeType="application/json" />
<mimeMap fileExtension=".geojson" mimeType="application/json" />
<mimeMap fileExtension=".gpx" mimeType="application/xml" />
<mimeMap fileExtension=".georss" mimeType="application/xml" />
<mimeMap fileExtension=".kml" mimeType="application/vnd.google-earth.kml+xml" />
<mimeMap fileExtension=".kmz" mimeType="application/vnd.google-earth.kmz" />
</staticContent>
<system.webServer>