<?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: Adding KML layer to map in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-kml-layer-to-map/m-p/10249#M980</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Put your URL between [ code ] and [ / code ] but without the spaces between the brackets.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit:&amp;nbsp; I think I got it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
http://edac-dap.northerngulfinstitute.org/erddap/griddap/MODIS_Aqua_3-day_composite_CHL.kml?chl_a[(last)][(17.086376190185547):(31.566356658935547)][(-97.91387176513672):(-78.65940856933594)]&amp;amp;.draw=surface&amp;amp;.vars=longitude|latitude|chl_a&amp;amp;.colorBar=Rainbow||Log|0|50|
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me look into this. I'll post back shortly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 20:26:00 GMT</pubDate>
    <dc:creator>derekswingley1</dc:creator>
    <dc:date>2021-12-10T20:26:00Z</dc:date>
    <item>
      <title>Adding KML layer to map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-kml-layer-to-map/m-p/10245#M976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have to add a kml layer to a map.&amp;nbsp; This is the kml url address I was given:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://edac-dap.northerngulfinstitute.org/erddap/griddap/MODIS_Aqua_3-day_composite_CHL.kml?chl_a"&gt;http://edac-dap.northerngulfinstitute.org/erddap/griddap/MODIS_Aqua_3-day_composite_CHL.kml?chl_a&lt;/A&gt;&lt;SPAN&gt;[(last)][(17.086376190185547):(31.566356658935547)][(-97.91387176513672):(-78.65940856933594)]&amp;amp;.draw=surface&amp;amp;.vars=longitude|latitude|chl_a&amp;amp;.colorBar=Rainbow||Log|0|50|&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This address will open in Google Earth and Google Maps properly but I can't seem to get it to do anything in the ArcGIS JavaScript API.&amp;nbsp; I've made sure to load the esri.layers.KMLLayers utility.&amp;nbsp; I made a variable called kmlURL and have the url address I posted above saved to that variable.&amp;nbsp; I then try to add the kml by using the new esri.layers.KMLLayer(kmlURL) to the map.&amp;nbsp; Nothing happens.&amp;nbsp; Is the URL address I've been given too complicate?&amp;nbsp; Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 18:31:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-kml-layer-to-map/m-p/10245#M976</guid>
      <dc:creator>BetsySchenck-Gardner</dc:creator>
      <dc:date>2012-03-14T18:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Adding KML layer to map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-kml-layer-to-map/m-p/10246#M977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you post that URL in code tags? The forum software is interpreting pieces of it at emoticons. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As long as your URL returns a KML file, the API will be able to use it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 18:33:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-kml-layer-to-map/m-p/10246#M977</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-03-14T18:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Adding KML layer to map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-kml-layer-to-map/m-p/10247#M978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;kml&amp;gt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://edac-dap.northerngulfinstitute.org/erddap/griddap/MODIS_Aqua_3-day_composite_CHL.kml?chl_a[(last)][(17.086376190185547):(31.566356658935547)][(-97.91387176513672):(-78.65940856933594)]&amp;amp;.draw=surface&amp;amp;.vars=longitude|latitude|chl_a&amp;amp;.colorBar=Rainbow||Log|0|50" rel="nofollow" target="_blank"&gt;http://edac-dap.northerngulfinstitute.org/erddap/griddap/MODIS_Aqua_3-day_composite_CHL.kml?chl_a[(last)][(17.086376190185547):(31.566356658935547)][(-97.91387176513672):(-78.65940856933594)]&amp;amp;.draw=surface&amp;amp;.vars=longitude|latitude|chl_a&amp;amp;.colorBar=Rainbow||Log|0|50&lt;/A&gt;&lt;SPAN&gt;|&amp;lt;/kml&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 20:34:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-kml-layer-to-map/m-p/10247#M978</guid>
      <dc:creator>BetsySchenck-Gardner</dc:creator>
      <dc:date>2012-03-14T20:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Adding KML layer to map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-kml-layer-to-map/m-p/10248#M979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't know how to do that.&amp;nbsp; The emoticons are colons.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 20:36:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-kml-layer-to-map/m-p/10248#M979</guid>
      <dc:creator>BetsySchenck-Gardner</dc:creator>
      <dc:date>2012-03-14T20:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Adding KML layer to map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-kml-layer-to-map/m-p/10249#M980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Put your URL between [ code ] and [ / code ] but without the spaces between the brackets.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit:&amp;nbsp; I think I got it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
http://edac-dap.northerngulfinstitute.org/erddap/griddap/MODIS_Aqua_3-day_composite_CHL.kml?chl_a[(last)][(17.086376190185547):(31.566356658935547)][(-97.91387176513672):(-78.65940856933594)]&amp;amp;.draw=surface&amp;amp;.vars=longitude|latitude|chl_a&amp;amp;.colorBar=Rainbow||Log|0|50|
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me look into this. I'll post back shortly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:26:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-kml-layer-to-map/m-p/10249#M980</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2021-12-10T20:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Adding KML layer to map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-kml-layer-to-map/m-p/10250#M981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is probably an issue with the the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/kmllayer.htm"&gt;KMLLayer&lt;/A&gt;&lt;SPAN&gt; is handling this URL. If I enter the URL directly in the arcgis.com service that converts KML to JSON, it works:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://arcgis.com/sharing/kml?url=http%3A%2F%2Fedac-dap.northerngulfinstitute.org%2Ferddap%2Fgriddap%2FMODIS_Aqua_3-day_composite_CHL.kml%3Fchl_a%5B%28last%29%5D%5B%2817.086376190185547%29%3A%2831.566356658935547%29%5D%5B%28-97.91387176513672%29%3A%28-78.65940856933594%29%5D%26.draw%3Dsurface%26.vars%3Dlongitude%7Clatitude%7Cchl_a%26.colorBar%3DRainbow%7C%7CLog%7C0%7C50%7C&amp;amp;folders=&amp;amp;callback=&amp;amp;outSR=&amp;amp;refresh=false"&gt;http://arcgis.com/sharing/kml?url=http%3A%2F%2Fedac-dap.northerngulfinstitute.org%2Ferddap%2Fgriddap%2FMODIS_Aqua_3-day_composite_CHL.kml%3Fchl_a%5B%28last%29%5D%5B%2817.086376190185547%29%3A%2831.566356658935547%29%5D%5B%28-97.91387176513672%29%3A%28-78.65940856933594%29%5D%26.draw%3Dsurface%26.vars%3Dlongitude%7Clatitude%7Cchl_a%26.colorBar%3DRainbow%7C%7CLog%7C0%7C50%7C&amp;amp;folders=&amp;amp;callback=&amp;amp;outSR=&amp;amp;refresh=false&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll keep looking and will post back here if I find a fix.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 21:50:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-kml-layer-to-map/m-p/10250#M981</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-03-14T21:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding KML layer to map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-kml-layer-to-map/m-p/10251#M982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Derek. I really appreciate your help on this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 22:45:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-kml-layer-to-map/m-p/10251#M982</guid>
      <dc:creator>BetsySchenck-Gardner</dc:creator>
      <dc:date>2012-03-14T22:45:59Z</dc:date>
    </item>
  </channel>
</rss>

