<?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 popupTemplate doesn't work with polyline in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/popuptemplate-doesn-t-work-with-polyline/m-p/405201#M2713</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using ArcGIS v4 beta3 to draw a 3D map with aircrafts routes. I was able to add all polylines to the map correctly. The problem is when adding a popupTemplate it doesn't appear. I also tried to catch the click event on the view and log to the console the point and the graphic being clicked:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;view.on("click", function(evt){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(evt.mapPoint);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(evt.graphic);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I click on a polyline, it prints &lt;EM&gt;undefined&lt;/EM&gt; on the console (mapPoint is correctly printed).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to add a templatePopup to a Point and it works well, it only seems to fail with the polyline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a bug for this version or I'm doing something wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Apr 2016 07:59:46 GMT</pubDate>
    <dc:creator>RogerSerentill</dc:creator>
    <dc:date>2016-04-14T07:59:46Z</dc:date>
    <item>
      <title>popupTemplate doesn't work with polyline</title>
      <link>https://community.esri.com/t5/developers-questions/popuptemplate-doesn-t-work-with-polyline/m-p/405201#M2713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using ArcGIS v4 beta3 to draw a 3D map with aircrafts routes. I was able to add all polylines to the map correctly. The problem is when adding a popupTemplate it doesn't appear. I also tried to catch the click event on the view and log to the console the point and the graphic being clicked:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;view.on("click", function(evt){&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(evt.mapPoint);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(evt.graphic);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I click on a polyline, it prints &lt;EM&gt;undefined&lt;/EM&gt; on the console (mapPoint is correctly printed).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to add a templatePopup to a Point and it works well, it only seems to fail with the polyline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a bug for this version or I'm doing something wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 07:59:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/popuptemplate-doesn-t-work-with-polyline/m-p/405201#M2713</guid>
      <dc:creator>RogerSerentill</dc:creator>
      <dc:date>2016-04-14T07:59:46Z</dc:date>
    </item>
  </channel>
</rss>

