Select to view content in your preferred language

Enhanced Search not honoring zoomScale

2735
14
05-12-2011 01:09 PM
JayGeisen
Regular Contributor
For some reason, when I click on a returned record in the eSearch widget, it zooms all the way in instead of honoring the scale I have set in the xml file.  Any ideas why this might be (probably my doing I would bet)?
Tags (2)
0 Kudos
14 Replies
RobertScheitlin__GISP
MVP Emeritus
Jay,

   OK, I think I understand you to be saying that you are trying to take my updated code and adding it to an older version?... If that is the case than you are missing several other pieces of new logic that were added. A large portion of the clickSearchResult function has changed as well as other functions to support the fix I put into place.
0 Kudos
JayGeisen
Regular Contributor
Yes, that is what I'm trying to do.  I also tried using the 2.4 version of your eSearch in my 2.31 SFV.  Under that situation, I am still not getting the desired result.  I realize you don't want to get into supporting old versions, but is there any way to easily code a set scale into the clickSearchResult function until I can get my SFV updated to 2.4?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Jay,

  OK using the 2.4 Version of this widget in Flex Viewer 2.3.1 is not a good test as there is portions of the code in the last couple of releases that is dependent on Flex Viewer 2.4... Hence the 2.4 version of the widget. So my advice at this point is to look at the difference in the clickSearchResult function by opening the new 2.4 version and searching for isNaN(zoomScale). That might get you to all the right spots in the updated code base.
0 Kudos
JayGeisen
Regular Contributor
Thanks, Robert.  I will attempt to do that.
0 Kudos
JayGeisen
Regular Contributor
Robert,

I got it to work in version 2.3.1.  Thanks again!

Jay
0 Kudos