Search and URL Parameter Search Result Highlighting Polygon Persists

961
6
Jump to solution
02-22-2018 02:27 PM
AmyRoust
Occasional Contributor III

I just upgraded to WAB Developer Edition version 2.7. When I use the Search tool or pass a query through URL parameters, the search result highlights with a nearly opaque orange polygon. In the previous version, you could click elsewhere on the map to deselect the polygon and the orange would go away. Now, the polygon persists like a drawing object and I have no way to remove it.

Test URL: URL Parameter Search 

Or you can go to http://gis.douglascountyks.org/propertyviewer/ and search for 107-26-0-00-00-005.00-0 (this is a PIN number, just FYI). Click away from the highlighted property, and the orange polygon persists.

I can restore a backup version of my website, but I need to figure out how to fix this so that I can continue to use the latest version of Developer Edition.

Help?

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Amy,

  It's pretty simple to remove just see my attached image:

View solution in original post

0 Kudos
6 Replies
RobertScheitlin__GISP
MVP Emeritus

Amy,

  It's pretty simple to remove just see my attached image:

0 Kudos
AmyRoust
Occasional Contributor III

Ha ha, fair enough, Robert! You can get rid of it that way. Good work around.

This is a pretty big behavior change for my end users, so I am anticipating significant pushback. Is there is a way to modify the 2.7 default code to get it to behave as the previous version's site did? In version 2.5, the search result was highlighted with a thin blue line (same behavior as in ArcMap when you select a polygon) and that highlighting disappears when you click anywhere on the map outside of the selected parcel. I have the old site, but I don't know which file(s) to compare so that I can find the issue and replace the code.

As always, I am indebted to your assistance!

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Amy,

   In the Search widgets settings page select your featurelayer you are searching and un-check

"Show pop-up for the found feature or location"

0 Kudos
AmyRoust
Occasional Contributor III

OK, that will suffice. I liked the old behavior better, but at least I'm rid of the semi-permanent orange polygon. 

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Don't forget to mark this question as answered by clicking on the "Mark Correct" link on the reply that answered your question.

0 Kudos
AmyRoust
Occasional Contributor III

I decided to restore the 2.5 version of my site. Turning off the search result pop-up removes some custom functionality that I coded into the pop-ups. I can train people to click the X in the search results box, but honestly, it's not worth the hassle when my backup works as desired. I guess I'll just run 2.5 for my Property Viewer and hope that the next upgrade to DE fixes that issue!

Thanks again for your help. The fast replies are always appreciated!!

0 Kudos