<?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: Draw polyline and show map infowindow in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/draw-polyline-and-show-map-infowindow/m-p/877640#M13756</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am unable to highlight the polyline geometry retrieved from my service .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also is the code correct what am doing or should I modify anything&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Sep 2020 20:47:34 GMT</pubDate>
    <dc:creator>KafilBaig</dc:creator>
    <dc:date>2020-09-03T20:47:34Z</dc:date>
    <item>
      <title>Draw polyline and show map infowindow</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/draw-polyline-and-show-map-infowindow/m-p/877638#M13754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000; border: 0px; font-size: 17px;"&gt;In my custom widget i have a datagrid and on row click i am showing the location and infowindow on map. For Point and polygon the infowindow shows correctly but for polyline it doesn’t show infowindow or draw the polyline for the geometry returned . It blanks out the map. Please guide me if am doing something wrong. Please find the code below.&lt;/P&gt;&lt;P style="color: #000000; border: 0px; font-size: 17px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; border: 0px; font-size: 17px;"&gt;Var polylinesymbol = new SimpleLineSymbol(&lt;SPAN style="border: 0px;"&gt;SimpleLineSymbol.STYLE_SOLID, new Color([0,255,0]), 5), new Color([255,255,0,0.25]));&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; border: 0px; font-size: 17px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; border: 0px; font-size: 17px;"&gt;&lt;SPAN style="border: 0px;"&gt;var clickPointGraphics = new Graphics(featureSet.features[0].geometry,&amp;nbsp;polylinesymbol);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; border: 0px; font-size: 17px;"&gt;&lt;SPAN style="border: 0px;"&gt;clickPointGraphics.setInfoTemplate(InfoTemplate);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; border: 0px; font-size: 17px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; border: 0px; font-size: 17px;"&gt;&lt;SPAN style="border: 0px;"&gt;this.map.graphics.add(clickPointGraphics);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; border: 0px; font-size: 17px;"&gt;&lt;SPAN style="border: 0px;"&gt;this.map.infoWindow.SetTitle(title);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; border: 0px; font-size: 17px;"&gt;&lt;SPAN style="border: 0px;"&gt;this.map.infoWindow.SetContent(Content);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; border: 0px; font-size: 17px;"&gt;&lt;SPAN style="border: 0px;"&gt;this.map.infoWindow.show(featureSet.features[0].geometry, this.map.getInfoWindowAnchor(featureSet.features[0].geometry));&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; border: 0px; font-size: 17px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; border: 0px; font-size: 17px;"&gt;&lt;SPAN style="border: 0px;"&gt;var stateExtent =&amp;nbsp;featureSet.features[0].geometry.getExtent().expand(5.0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; border: 0px; font-size: 17px;"&gt;&lt;SPAN style="border: 0px;"&gt;this.map.setExtent(stateExtent);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2020 19:12:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/draw-polyline-and-show-map-infowindow/m-p/877638#M13754</guid>
      <dc:creator>KafilBaig</dc:creator>
      <dc:date>2020-09-03T19:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Draw polyline and show map infowindow</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/draw-polyline-and-show-map-infowindow/m-p/877639#M13755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kafil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;You are passing a Polyline to the map infowindow &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/popup-amd.html#show"&gt;show&lt;/A&gt; method and it is expecting a point geometry.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;Point&amp;gt; location -&amp;nbsp;&lt;SPAN&gt; &lt;/SPAN&gt;Required -&amp;nbsp;An instance of esri.geometry.Point that represents the geographic location to display the popup.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2020 19:36:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/draw-polyline-and-show-map-infowindow/m-p/877639#M13755</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-09-03T19:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Draw polyline and show map infowindow</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/draw-polyline-and-show-map-infowindow/m-p/877640#M13756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am unable to highlight the polyline geometry retrieved from my service .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also is the code correct what am doing or should I modify anything&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2020 20:47:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/draw-polyline-and-show-map-infowindow/m-p/877640#M13756</guid>
      <dc:creator>KafilBaig</dc:creator>
      <dc:date>2020-09-03T20:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Draw polyline and show map infowindow</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/draw-polyline-and-show-map-infowindow/m-p/877641#M13757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you read my reply?..&lt;/P&gt;&lt;P&gt;You are are try to show the info window using a polyline geometry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2020 20:51:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/draw-polyline-and-show-map-infowindow/m-p/877641#M13757</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-09-03T20:51:50Z</dc:date>
    </item>
  </channel>
</rss>

