Select to view content in your preferred language

eSearch widget and Dynamic Legend issue

1184
4
Jump to solution
01-17-2013 01:15 PM
MichelleKinseth
Emerging Contributor
I am using the eSearch Widget (v3.1.4) and the Dynamic Legend v3.1. The viewer opens with a URL selection made in the eSearch Widget, and the Legend shows all the operational layers. If I clear the initial selection and choose a layer to search from the dropdown menu in the eSearch Widget and then make a new selection, the Dynamic Legend redraws the symbology. *see attached images*

[ATTACH=CONFIG]20818[/ATTACH] [ATTACH=CONFIG]20819[/ATTACH] [ATTACH=CONFIG]20820[/ATTACH]

The first image is how the Legend should look, the second is after a new selection is made with eSearch, the third after yet another new selection is made. If I continue to make new selections without refreshing the map, the legend will continue to add the symbology of the layer searched, over and over. What I need is for the Legend to not keep adding the same layer, if it's already there, to the Legend if a search is performed in the eSearch Widget. I can use the "out of the box" legend, but I much prefer the dynamic legend, as it's been much easier to customize the look of.

Help?

(I'm working with the uncompiled code for both widgets.)
0 Kudos
1 Solution

Accepted Solutions
by Anonymous User
Not applicable
Original User: rscheitlin

Michelle,

   Thanks for reporting this bug. I have not looked at the DynamicLegend code much since most are using my TOCWidget. I have addressed the issue and you can find the updated widget here:

http://www.arcgis.com/home/item.html?id=f60406b9f52340d59eb557bf64136af6

***Edit*** There seem to be another issue you should probably hold off until I get that fixed... 😞

View solution in original post

0 Kudos
4 Replies
by Anonymous User
Not applicable
Original User: rscheitlin

Michelle,

   Thanks for reporting this bug. I have not looked at the DynamicLegend code much since most are using my TOCWidget. I have addressed the issue and you can find the updated widget here:

http://www.arcgis.com/home/item.html?id=f60406b9f52340d59eb557bf64136af6

***Edit*** There seem to be another issue you should probably hold off until I get that fixed... 😞
0 Kudos
MichelleKinseth
Emerging Contributor
Michelle,

   Thanks for reporting this bug. I have not looked at the DynamicLegend code much since most are using my TOCWidget. I have addressed the issue and you can find the updated widget here:

http://www.arcgis.com/home/item.html?id=f60406b9f52340d59eb557bf64136af6


THANK YOU SO MUCH! I appreciate the quick response
~Michelle
0 Kudos
by Anonymous User
Not applicable
Original User: rscheitlin

Michelle,

   Now you can go get version 3.1.2 that fixes the stuff broke in 3.1.1.
0 Kudos
MichelleKinseth
Emerging Contributor
Michelle,

   Now you can go get version 3.1.2 that fixes the stuff broke in 3.1.1.


will do, thanks!
0 Kudos