[OpenLayers-Users] Mouse wheel zoom generates lots of server requests...

Steve Lime Steve.Lime at dnr.state.mn.us
Thu Jul 23 00:44:11 EDT 2009


Note this is the the resize transition effect. Without that only one request is generated...

>>> Steve Lime 07/22/09 11:39 PM >>>
Any comments? In more testing with untiled mapserver layers one wheel zoom generated up to 9
requests in the apache logs although only one map was ultimately displayed. Does this behavior
vary by layer type?

Steve

>>> "Steve Lime" <Steve.Lime at dnr.state.mn.us> 07/16/09 4:29 PM >>>
Hi all: In testing we've noticed that zooming with a mouse wheel seems to generate lots of requests
at various resolutions on the way to the final zoom level. So, a wheel up generates server requests
at intermediate levels, most of which won't be displayed. Someone sitting there rolling their wheel up 
and down can hammer a server.  Short of disabling that control are there good ways to avoid this? 
Perhaps by only asking for data once there's been no activity on the wheel within a certain period.

Steve

_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users




More information about the Users mailing list