Incident Analysis - input for distance doesn't work?

2289
7
Jump to solution
02-08-2016 10:16 AM
TracySchloss
Frequent Contributor

I am trying to configure the Incident Analysis widget.  When you use the slider on the buffer distance, it works.  IIf you use what looks like an input field to enter a distance,  this doesn't work. 

This seems like a bug, but I haven't found a note of this yet.  This is the online version. 

0 Kudos
1 Solution

Accepted Solutions
by Anonymous User
Not applicable

Tracy Schloss​ it is indeed an ESRI bug.

I know what you mean. You enter distance, then click the Point or other geometry. I think that will instinctively be the workflow of many users. You instinctively as a user focus on the length, enter it, then select Point or other drawing tool, to place it on the map for the buffer. Yet, it draws what the slider was. The slider stays stuck. The fix is below.

It is a bug in both WAB 1.2 and 1.3.

The fix is here in my thread.

insert on Line 481     (insert under the following line....        this.own(on(this.horizontalSlider, "change", lang.hitch(this...., this._sliderChange)));

-----

this.own(on(this.sliderValue, "change", lang.hitch(this, this._updateSliderValue)));

-----

geonet.esri.com/message/583971

Important Note for WAB 1.2 users: do not use this widget in 1.2 of the Builder.  It measures incorrectly. At least in coastal Georgia, it under-measures distance. This was against known lengths of features that are actually part of the Esri topo basemap, that I tested it on. I confirmed with other measure tools and other vector data. Support reproduced it, but stated they will not patch Builder 1.2 widgets.  The only solution is to migrate your site to 1.3. 

View solution in original post

7 Replies
JakeSkinner
Esri Esteemed Contributor

Hi Tracy,

Have you tried reproducing this in other web maps?  I was able to get this working successfully.

http://arcg.is/1K8aOGK

0 Kudos
TracySchloss
Frequent Contributor

It must have needed lunch.  I tried several times this AM and no matter what distance I entered, it always drew the distance the same as the original size.  Now it seems to be working.  Weird.  I'm going to keep an eye on it, definitely.

0 Kudos
JakeSkinner
Esri Esteemed Contributor

Or, maybe someone partied too hard during last nights Superbowl

0 Kudos
TracySchloss
Frequent Contributor

Nothing that interesting.  Must be Monday. 

by Anonymous User
Not applicable

Tracy Schloss​ it is indeed an ESRI bug.

I know what you mean. You enter distance, then click the Point or other geometry. I think that will instinctively be the workflow of many users. You instinctively as a user focus on the length, enter it, then select Point or other drawing tool, to place it on the map for the buffer. Yet, it draws what the slider was. The slider stays stuck. The fix is below.

It is a bug in both WAB 1.2 and 1.3.

The fix is here in my thread.

insert on Line 481     (insert under the following line....        this.own(on(this.horizontalSlider, "change", lang.hitch(this...., this._sliderChange)));

-----

this.own(on(this.sliderValue, "change", lang.hitch(this, this._updateSliderValue)));

-----

geonet.esri.com/message/583971

Important Note for WAB 1.2 users: do not use this widget in 1.2 of the Builder.  It measures incorrectly. At least in coastal Georgia, it under-measures distance. This was against known lengths of features that are actually part of the Esri topo basemap, that I tested it on. I confirmed with other measure tools and other vector data. Support reproduced it, but stated they will not patch Builder 1.2 widgets.  The only solution is to migrate your site to 1.3. 

TracySchloss
Frequent Contributor

I agree that it should work in whatever order the user tries it.  I must have instinctively been doing it one way originally and changed it up a little when I was paying more attention.

It's always frustrating to hear of a bug that exists through multiple versions.

0 Kudos
by Anonymous User
Not applicable

Tracy Schloss​ I have a "fix". If you just need it to draw a visual buffer, don't use this tool. Use Robert's eSearch. In Search by Shape, be sure the list of layers to search includes a "dummy layer" that is empty. I had plenty to choose from, because since I had over a hundred layers in the list I needed to create "separators".  I direct our users to select Transportation then draw a graphic with the Buffer Graphic selected. This in effect simply "draws" a graphic. Almost as intuitive as the Esri widget. And, the bonus of not cluttering the toolbar with another tool, at least from our view.

0 Kudos