<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: KML - File not found, wrong url error for correct url in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-file-not-found-wrong-url-error-for-correct-url/m-p/543685#M50616</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to add a kml layer to my map. However, the control reaches onError handler and shows 'File not found. Wrong Url' error. The Url is correct and I can get back data if I use it on a IE browser.&lt;BR /&gt;&lt;BR /&gt;Why should the code fail with this error? Any input is appreciated.&lt;BR /&gt;&lt;BR /&gt;Our server isn't accessible from outside. If I see in developer tools where the url is appended to &lt;A href="http://utility.arcgis.com/sharing/kml?url=myurl"&gt;http://utility.arcgis.com/sharing/kml?url=myurl&lt;/A&gt; ==&amp;gt; this returns File not found error and I am sure Kml layer isn't getting loaded because of this. But, how should I fix this?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KML must be on a public server&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.google.com/maps/documentation/business/faq#intranet_kml"&gt;https://developers.google.com/maps/documentation/business/faq#intranet_kml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;How do I render KML files that are hosted on intranet sites on a map?&lt;BR /&gt;The KmlLayer class that generates KML overlays in the Google Maps API uses a Google hosted service to retrieve and parse KML files for rendering. Consequently it is not possible to display KML files that are not hosted at a URL that is available publicly accessible, or that require authentication to access.&lt;BR /&gt;&lt;BR /&gt;If you need to develop applications that use KML files hosted on intranet sites we recommend that you either:&lt;BR /&gt;&lt;BR /&gt;Use the Google Earth API which supports client side parsing and rendering of KML.&lt;BR /&gt;Render the KML on the client side by using third-party JavaScript libraries. As the KML file is analyzed by the browser, performance may be lower than by using the KmlLayer class.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Apr 2012 12:07:27 GMT</pubDate>
    <dc:creator>JeffPace</dc:creator>
    <dc:date>2012-04-25T12:07:27Z</dc:date>
    <item>
      <title>KML - File not found, wrong url error for correct url</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-file-not-found-wrong-url-error-for-correct-url/m-p/543684#M50615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to add a kml layer to my map. However, the control reaches onError handler and shows 'File not found. Wrong Url' error. The Url is correct and I can get back data if I use it on a IE browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why should the code fail with this error? Any input is appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Our server isn't accessible from outside. If I see in developer tools where the url is appended to &lt;/SPAN&gt;&lt;A href="http://utility.arcgis.com/sharing/kml?url=myurl"&gt;http://utility.arcgis.com/sharing/kml?url=myurl&lt;/A&gt;&lt;SPAN&gt; ==&amp;gt; this returns File not found error and I am sure Kml layer isn't getting loaded because of this. But, how should I fix this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 11:20:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-file-not-found-wrong-url-error-for-correct-url/m-p/543684#M50615</guid>
      <dc:creator>SujaSudhan</dc:creator>
      <dc:date>2012-04-25T11:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: KML - File not found, wrong url error for correct url</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-file-not-found-wrong-url-error-for-correct-url/m-p/543685#M50616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to add a kml layer to my map. However, the control reaches onError handler and shows 'File not found. Wrong Url' error. The Url is correct and I can get back data if I use it on a IE browser.&lt;BR /&gt;&lt;BR /&gt;Why should the code fail with this error? Any input is appreciated.&lt;BR /&gt;&lt;BR /&gt;Our server isn't accessible from outside. If I see in developer tools where the url is appended to &lt;A href="http://utility.arcgis.com/sharing/kml?url=myurl"&gt;http://utility.arcgis.com/sharing/kml?url=myurl&lt;/A&gt; ==&amp;gt; this returns File not found error and I am sure Kml layer isn't getting loaded because of this. But, how should I fix this?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;KML must be on a public server&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.google.com/maps/documentation/business/faq#intranet_kml"&gt;https://developers.google.com/maps/documentation/business/faq#intranet_kml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;How do I render KML files that are hosted on intranet sites on a map?&lt;BR /&gt;The KmlLayer class that generates KML overlays in the Google Maps API uses a Google hosted service to retrieve and parse KML files for rendering. Consequently it is not possible to display KML files that are not hosted at a URL that is available publicly accessible, or that require authentication to access.&lt;BR /&gt;&lt;BR /&gt;If you need to develop applications that use KML files hosted on intranet sites we recommend that you either:&lt;BR /&gt;&lt;BR /&gt;Use the Google Earth API which supports client side parsing and rendering of KML.&lt;BR /&gt;Render the KML on the client side by using third-party JavaScript libraries. As the KML file is analyzed by the browser, performance may be lower than by using the KmlLayer class.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 12:07:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-file-not-found-wrong-url-error-for-correct-url/m-p/543685#M50616</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2012-04-25T12:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: KML - File not found, wrong url error for correct url</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-file-not-found-wrong-url-error-for-correct-url/m-p/543686#M50617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As Jeff pointed out, KML files must be publicly accessible. This is documented here:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/kmllayer.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/kmllayer.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 14:07:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-file-not-found-wrong-url-error-for-correct-url/m-p/543686#M50617</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-04-25T14:07:46Z</dc:date>
    </item>
  </channel>
</rss>

