[OpenLayers-Trac] [OpenLayers] #1359: HOWTO: Enable zoom out with right-dblclick

OpenLayers trac at openlayers.org
Thu Apr 3 02:11:31 EDT 2008


#1359: HOWTO: Enable zoom out with right-dblclick
-------------------------+--------------------------------------------------
  Reporter:  openlayers  |       Owner:  euzuro                           
      Type:  feature     |      Status:  new                              
  Priority:  minor       |   Milestone:  2.7 Release                      
 Component:  Events      |     Version:  2.5                              
Resolution:              |    Keywords:  right dblclick double click mouse
     State:  Review      |  
-------------------------+--------------------------------------------------
Changes (by openlayers):

  * state:  => Review

Comment:

 Right mouse events patch added. I am not familiar yet with the test suite
 so there are currently no tests installed with the patch. There is also
 currently no option to turn on/off the support from the OpenLayers.Map
 hence this patch overrides the oncontextmenu (default right click) event.
 Browser events added in OpenLayers.Events are rightclick and
 dblrightclick. Currently implemented in Controls.Navigation is a new
 method called defaultRightDblClick which support the zoom out
 functionality.
 David Martin

-- 
Ticket URL: <http://trac.openlayers.org/ticket/1359#comment:2>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list