cybersthang / gmaps-utility-library-dev

Automatically exported from code.google.com/p/gmaps-utility-library-dev
0 stars 0 forks source link

dragzoom: Add support for zooming out with right mouse drag #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Left to zoom in, right to zoom out. Makes sense :)

Currently dragging with the right mouse is the same as with the left.

The attached patch against r522 adds:
 * an option, 'opts_other.rightMouseZoomOutEnabled' which enables the
behaviour. Default is false (existing behavior)
 * if enabled, dragging with the right button tries to find a zoom level to
fit the current visible extent in the size of the dragged box. This is
'normal' behavior for a number of other mapping systems.

Original issue reported on code.google.com by robert.c...@gmail.com on 4 Feb 2008 at 2:59

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by lem...@gmail.com on 23 May 2008 at 4:13

GoogleCodeExporter commented 8 years ago

Original comment by lem...@gmail.com on 23 May 2008 at 6:46

GoogleCodeExporter commented 8 years ago
Added in r608.

Original comment by lem...@gmail.com on 23 May 2008 at 4:43