<?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: weird issue with measure widget in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/solved-weird-issue-with-measure-widget/m-p/230319#M21534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you post code to reproduce this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Apr 2012 14:01:01 GMT</pubDate>
    <dc:creator>derekswingley1</dc:creator>
    <dc:date>2012-04-18T14:01:01Z</dc:date>
    <item>
      <title>[Solved] weird issue with measure widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/solved-weird-issue-with-measure-widget/m-p/230318#M21533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have added a measurement widget on my webapp. the functionality works flawless, but for some reason when you click on Area Tool and select 1st point, the blue line joining the point and cursor does not appear. But when you click the second point, the blue line is present between 1st and 2nd point, but again the new blue line connecting 2nd point and the cursor is missing. So on and so forth. And eventually when you double-click to complete the polygon, the there is not line between the last and first point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]13630[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 13:40:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/solved-weird-issue-with-measure-widget/m-p/230318#M21533</guid>
      <dc:creator>JatinPatel</dc:creator>
      <dc:date>2012-04-18T13:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: weird issue with measure widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/solved-weird-issue-with-measure-widget/m-p/230319#M21534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you post code to reproduce this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 14:01:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/solved-weird-issue-with-measure-widget/m-p/230319#M21534</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-04-18T14:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: weird issue with measure widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/solved-weird-issue-with-measure-widget/m-p/230320#M21535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;measurement = new esri.dijit.Measurement({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map: _map,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; onClick: disableIdentify
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, dojo.byId('measurementDiv'));&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;disableIdentify basically disables the identify function i have.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; function disableIdentify() {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; identifyBtn.attr('class', "btn_up");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; identifyBtn.toggleMode = 0;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.disconnect(dojoIdentify);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _map.graphics.clear();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _map.infoWindow.hide();
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 11:12:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/solved-weird-issue-with-measure-widget/m-p/230320#M21535</guid>
      <dc:creator>JatinPatel</dc:creator>
      <dc:date>2021-12-11T11:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: weird issue with measure widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/solved-weird-issue-with-measure-widget/m-p/230321#M21536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found the bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;_map.graphics.clear();&lt;/PRE&gt;&lt;SPAN&gt; is what was killing it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was under the assumption that it was getting fired only one time, but it is actually getting fired everytime i click on the map while using the tool.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 14:14:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/solved-weird-issue-with-measure-widget/m-p/230321#M21536</guid>
      <dc:creator>JatinPatel</dc:creator>
      <dc:date>2012-04-18T14:14:17Z</dc:date>
    </item>
  </channel>
</rss>

