WSDOT-GIS / GeoPortal

Source code for WSDOT GeoPortal application
http://www.wsdot.wa.gov/mapsdata/tools/geoportal_ext.htm
1 stars 1 forks source link

Blank Basemap in Fish configuration below 1:577,790.554 #11

Closed jacksoe closed 9 years ago

jacksoe commented 9 years ago
  1. Open Fish Passage config http://webpub4qa.wsdot.wa.gov/mapsdata/tools/geoportal/?config=fish-passage-barriers
  2. Observer Scale is at 1:4,622,324.434
  3. Switch basemap to WSDOT, scale still shows 1:4,622,324.434
  4. Scroll in one level, scale will now show 1:18,055.955, true scale is: 1:2,311,162.217
  5. Continue Scrolling at map will go blank below true scale of 1:577,790.554. Map will show 1:4,513.989 which is the last scale for the WSDOT basemap.

I've attached a couple of screen prints. One shows what happens when scroll "out" vers "in". Note the scale values in the lower left.

basemap03 basemap02 basemap01

JeffJacobson commented 9 years ago

The cause was an extension method called getScale added to esri/Map. Esri had since added their own Map.getScale function which was being overwritten by ours. I removed our custom one since it is no longer needed and it seems to have fixed the issue.