Hi,

in the extension for the v2 api I was able to activate the dragzoom
with a normal html button, using a function in the onclick attribute
of the html:

<button onclick="myDragZoom.initiateZoom();">Drag zoom</button>

I defined the control before in js file:
myDragZoom = new DragZoomControl(boxStyleOpts, otherOpts, callbacks);
gmap.addControl(myDragZoom);

Now, is there a way to obtain this with the keydragzoom for v3?
I know I can set "visualEnabled" to true easily, but this is not what
I'd like to do because I'm creating an application with a toolbar in
the header and I want to group all the "tools" in this part of the
interface.

Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to