Skip to content

Commit

Permalink
Merge pull request #602 from USGS-WiM/zoom-to
Browse files Browse the repository at this point in the history
fix for zoom to location breaking after three site library clicked
  • Loading branch information
njestes authored Jun 8, 2021
2 parents 94f188a + 70de186 commit 0e73c72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scripts/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -4550,7 +4550,8 @@ require([
//$("[id*='fimExtents'] .esriLegendLayerLabel").hide();
var identifyParameters = new IdentifyParameters();
if (siteAttr != null && siteAttr.HAS_GRIDS == 1 && ((map.getLayer("fimExtents").visible == true || map.getLayer("fimGrid" + siteAttr.GRID_SERV).visible == true)
|| (map.getLayer("fimExtentsMulti").visible == true || map.getLayer("fimGrid" + siteAttr.GRID_SERV).visible == true)) && evt.target.localName != "image") {
|| (map.getLayer("fimExtentsMulti").visible == true || map.getLayer("fimGrid" + siteAttr.GRID_SERV).visible == true)
|| (map.getLayer("fimExtentsThreeSites").visible == true || map.getLayer("fimGrid" + siteAttr.GRID_SERV).visible == true)) && evt.target.localName != "image") {
//come back to this to deal with grid clicks

//getGridLayerIndex();
Expand Down

0 comments on commit 0e73c72

Please sign in to comment.