<?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 Incident widget wrong distance in WAB 1.2  in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/incident-widget-wrong-distance-in-wab-1-2/m-p/578436#M15456</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have WAB 1.2.&amp;nbsp;&amp;nbsp; I decided to verify distances of all measurement tools in my site with known distances of parcel segments in our parcel dataset. (which is from a GA St Plane Ft SDE dataset)&lt;/P&gt;&lt;P dir="ltr" style="color: #303942; font-family: 'Segoe UI', Tahoma, sans-serif; font-size: 12px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;This is using Chrome version 47.0.2526.111 m (64-bit)&lt;/P&gt;&lt;P dir="ltr" style="color: #303942; font-family: 'Segoe UI', Tahoma, sans-serif; font-size: 12px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;Also observed in MS Edge.&lt;/P&gt;&lt;P style="margin-top: 10px; color: #303942; font-family: 'Segoe UI', Tahoma, sans-serif; font-size: 12px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;Tom Sellsted's Measurement widget: correct.&lt;/P&gt;&lt;P&gt;Jeremie's eDraw: Correct.&lt;/P&gt;&lt;P&gt;Incident widget:&amp;nbsp; measurement errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bug #1:&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It under-measures distances by approximately 10%. In WAB 1.2 of the widget. 1.3 measures correctly.&lt;/P&gt;&lt;P&gt;Error in measurement 1.2 is shown below. It should be 80 feet along the segment but it only drew a circle about 70 feet in length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;FINAL UPDATE:&lt;/SPAN&gt;&amp;nbsp; ESRI's final answer for this is to upgrade to 1.3.&lt;/STRONG&gt;&amp;nbsp; If you have WAB 1.2 do &lt;STRONG&gt;NOT&lt;/STRONG&gt; use Incident Analysis, it's inaccurate as above/below. If anyone fixes it on their own at 1.2 let me know. I tried using the 1.3 vers of the widget in Builder 1.2, it didn't work. It 404d on CVUtils in jimu.js so I grabbed that, but after that, the errors became more complex in the console and I had to move on.&lt;/P&gt;&lt;P&gt;Actually....turns out, I'm going to permanently remove this widget. I just realized Robert's wonderful eSearch widget comes to the rescue again!&amp;nbsp; It can be used to simply draw a graphic buffer, if you select a 'dummy' layer that will produce no results.&amp;nbsp; The buffer graphic stays on the screen. I have 'dummy' layers as separators in my layer list and this workflow works perfectly.&amp;nbsp; Awesome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="175075" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/175075_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bug #2: (status: &lt;SPAN style="color: #7ed529;"&gt;fixed!&lt;/SPAN&gt; with a line of code below)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is present in both 1.2 &lt;STRONG&gt;and&lt;/STRONG&gt; 1.3.&amp;nbsp; It allows users to first type distance, then select point and click on the map. The problem is the graphic on the map is a different distance than the text that remains in the textbox inside the widget window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fix:&amp;nbsp; They created a click handler that makes the text below update and stay in sync with the slider so it looks like we have fixed it and it works in 1.3 and 1.2:&amp;nbsp;&amp;nbsp;&amp;nbsp; insert on Line 481&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (insert under the following line....&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.own(on(this.horizontalSlider, "change", lang.hitch(this, this._sliderChange)));&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;OL style="list-style-type: lower-alpha;"&gt;&lt;LI&gt;this.own(on(this.sliderValue, "change", lang.hitch(this, this._updateSliderValue)));&lt;/LI&gt;&lt;/OL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Note to ESRI Dev team, should be integrated into WAB1.4 and 2.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Background info:&lt;/P&gt;&lt;P&gt;We realized that reason where the number doesn't match the distance shown in the buffer on the map... was because I was first typing a number, and THEN clicking a Point.&amp;nbsp; As in, open the widget, first thing I do is type a distance, and then select a geometry type on the left panel for the buffer.&amp;nbsp; I stated that this should either be a user workflow that is allowed and works correctly, or it should NOT be possible.&amp;nbsp; Because the widget should not present one distance below and have a different distance on the map, ever. It is confusing and disconcerting for the user experience. The user should NOT be able to in other words get 'in trouble', either a feature should always work, or it shouldn't be there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jan 2016 22:19:46 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2016-01-28T22:19:46Z</dc:date>
    <item>
      <title>Incident widget wrong distance in WAB 1.2</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/incident-widget-wrong-distance-in-wab-1-2/m-p/578436#M15456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have WAB 1.2.&amp;nbsp;&amp;nbsp; I decided to verify distances of all measurement tools in my site with known distances of parcel segments in our parcel dataset. (which is from a GA St Plane Ft SDE dataset)&lt;/P&gt;&lt;P dir="ltr" style="color: #303942; font-family: 'Segoe UI', Tahoma, sans-serif; font-size: 12px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;This is using Chrome version 47.0.2526.111 m (64-bit)&lt;/P&gt;&lt;P dir="ltr" style="color: #303942; font-family: 'Segoe UI', Tahoma, sans-serif; font-size: 12px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;Also observed in MS Edge.&lt;/P&gt;&lt;P style="margin-top: 10px; color: #303942; font-family: 'Segoe UI', Tahoma, sans-serif; font-size: 12px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px;"&gt;Tom Sellsted's Measurement widget: correct.&lt;/P&gt;&lt;P&gt;Jeremie's eDraw: Correct.&lt;/P&gt;&lt;P&gt;Incident widget:&amp;nbsp; measurement errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bug #1:&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It under-measures distances by approximately 10%. In WAB 1.2 of the widget. 1.3 measures correctly.&lt;/P&gt;&lt;P&gt;Error in measurement 1.2 is shown below. It should be 80 feet along the segment but it only drew a circle about 70 feet in length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;FINAL UPDATE:&lt;/SPAN&gt;&amp;nbsp; ESRI's final answer for this is to upgrade to 1.3.&lt;/STRONG&gt;&amp;nbsp; If you have WAB 1.2 do &lt;STRONG&gt;NOT&lt;/STRONG&gt; use Incident Analysis, it's inaccurate as above/below. If anyone fixes it on their own at 1.2 let me know. I tried using the 1.3 vers of the widget in Builder 1.2, it didn't work. It 404d on CVUtils in jimu.js so I grabbed that, but after that, the errors became more complex in the console and I had to move on.&lt;/P&gt;&lt;P&gt;Actually....turns out, I'm going to permanently remove this widget. I just realized Robert's wonderful eSearch widget comes to the rescue again!&amp;nbsp; It can be used to simply draw a graphic buffer, if you select a 'dummy' layer that will produce no results.&amp;nbsp; The buffer graphic stays on the screen. I have 'dummy' layers as separators in my layer list and this workflow works perfectly.&amp;nbsp; Awesome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="175075" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/175075_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bug #2: (status: &lt;SPAN style="color: #7ed529;"&gt;fixed!&lt;/SPAN&gt; with a line of code below)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is present in both 1.2 &lt;STRONG&gt;and&lt;/STRONG&gt; 1.3.&amp;nbsp; It allows users to first type distance, then select point and click on the map. The problem is the graphic on the map is a different distance than the text that remains in the textbox inside the widget window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fix:&amp;nbsp; They created a click handler that makes the text below update and stay in sync with the slider so it looks like we have fixed it and it works in 1.3 and 1.2:&amp;nbsp;&amp;nbsp;&amp;nbsp; insert on Line 481&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (insert under the following line....&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.own(on(this.horizontalSlider, "change", lang.hitch(this, this._sliderChange)));&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;OL style="list-style-type: lower-alpha;"&gt;&lt;LI&gt;this.own(on(this.sliderValue, "change", lang.hitch(this, this._updateSliderValue)));&lt;/LI&gt;&lt;/OL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Note to ESRI Dev team, should be integrated into WAB1.4 and 2.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Background info:&lt;/P&gt;&lt;P&gt;We realized that reason where the number doesn't match the distance shown in the buffer on the map... was because I was first typing a number, and THEN clicking a Point.&amp;nbsp; As in, open the widget, first thing I do is type a distance, and then select a geometry type on the left panel for the buffer.&amp;nbsp; I stated that this should either be a user workflow that is allowed and works correctly, or it should NOT be possible.&amp;nbsp; Because the widget should not present one distance below and have a different distance on the map, ever. It is confusing and disconcerting for the user experience. The user should NOT be able to in other words get 'in trouble', either a feature should always work, or it shouldn't be there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 22:19:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/incident-widget-wrong-distance-in-wab-1-2/m-p/578436#M15456</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2016-01-28T22:19:46Z</dc:date>
    </item>
  </channel>
</rss>

