<?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 adding kml with images using new KMLLayer(kmlUrl); function in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-kml-with-images-using-new-kmllayer-kmlurl/m-p/165248#M15330</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a small kmz file with images inside it, when I convert it to kml, the code looks like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;Placemark&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;Waypoint 1&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;description&amp;gt;&amp;lt;![CDATA[&amp;lt;img width="800" src="1.jpg"/&amp;gt;]]&amp;gt;&amp;lt;/description&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;Point&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;coordinates&amp;gt;-121.825408,37.328418,0.000000&amp;lt;/coordinates&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/Point&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/Placemark&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try to add it to my arcgis js api application, the waypoint appears fine but the image is not shown on click as seen below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="269" src="https://community.esri.com/legacyfs/online/171850_pastedImage_1.png" style="width: 382px; height: 269.032px;" width="382" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error on the console window is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GET &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2Fsandbox%2F1.jpg" rel="nofollow" target="_blank"&gt;http://developers.arcgis.com/javascript/sandbox/1.jpg&lt;/A&gt;&lt;SPAN&gt; 404 (Not Found)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand the issue that the code cannot find the image path but how can I solve this problem? The image displays fine on Google Earth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jan 2016 07:39:40 GMT</pubDate>
    <dc:creator>HumzaAkhtar</dc:creator>
    <dc:date>2016-01-22T07:39:40Z</dc:date>
    <item>
      <title>adding kml with images using new KMLLayer(kmlUrl); function</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-kml-with-images-using-new-kmllayer-kmlurl/m-p/165248#M15330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a small kmz file with images inside it, when I convert it to kml, the code looks like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;Placemark&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;Waypoint 1&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;description&amp;gt;&amp;lt;![CDATA[&amp;lt;img width="800" src="1.jpg"/&amp;gt;]]&amp;gt;&amp;lt;/description&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;Point&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;coordinates&amp;gt;-121.825408,37.328418,0.000000&amp;lt;/coordinates&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/Point&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/Placemark&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try to add it to my arcgis js api application, the waypoint appears fine but the image is not shown on click as seen below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="269" src="https://community.esri.com/legacyfs/online/171850_pastedImage_1.png" style="width: 382px; height: 269.032px;" width="382" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error on the console window is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GET &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2Fsandbox%2F1.jpg" rel="nofollow" target="_blank"&gt;http://developers.arcgis.com/javascript/sandbox/1.jpg&lt;/A&gt;&lt;SPAN&gt; 404 (Not Found)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand the issue that the code cannot find the image path but how can I solve this problem? The image displays fine on Google Earth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 07:39:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-kml-with-images-using-new-kmllayer-kmlurl/m-p/165248#M15330</guid>
      <dc:creator>HumzaAkhtar</dc:creator>
      <dc:date>2016-01-22T07:39:40Z</dc:date>
    </item>
  </channel>
</rss>

