Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

When zooming using the mouse wheel on a web adf based map, every time the map wheel clicks, requests are sent to ArcGIS Server for maps etc. (as evident in Fiddler) Is there any way to harvest an event that would disable the requests until you got to zoom level you want?


1 Answer 1

I think you have a few options:

  1. Disable the built-in ADF scroll wheel handler (see ScrollWheelZoom in the ADF Documentation) and then use the ADF Javascript library to handle the zooming.
  2. Add an event to your Map control's ScaleChanged event that enabled or disabled the ScrollWheelZoom at run-time.
  3. Place a <div> over your map control that intercepts mouse movement and relays them to the map control (except when out of scale range).

This site is currently not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .