GZoom inducted into Google; becomes DragZoom
Jun 5, 2007 by
Andre
My GZoom drag-to-zooom control has been incorporated into Google's GMaps Utility Library. Pamela Fox from Google has been working on it with me for some time, and has done a fantastic job with both the code and the documentation. GZoom is now called DragZoom, and it is available directly off of Google's servers. No need to download your own copy, you can source it from Google just like the GMaps API itself.
Pamela also put together a great example page demonstrating the different instantiation options. Other links for the project:
- Packed source: http://gmaps-utility-library.googlecode.com/svn/trunk/dragzoom/1.0/src/dragzoom_packed.js
- Unpacked source: http://gmaps-utility-library.googlecode.com/svn/trunk/dragzoom/1.0/src/dragzoom_packed.js
- DragZoom project Root
- Documentation: examples and reference
Comments
Gerard van Enk on Jun 06
Nice addition to the GMaps Utility Library. Congratulations :)
Pink Duck on Jun 07
Just checked this out, but why the fixed aspect-ratio zoom box? I'd like to see an option to allow free-form select zoom box, then your component can find the best way to fit this into the current map region, such that any horizontal/vertical excess space reduces the required margin dimension.
Scott McMillin on Jun 07
Congrats, Andre!
Chuck Bargeron on May 12
Any reason overlay and selection would be offset about 50px - see .eddmaps.org/dihttp://wwwstribution/google/index2.cfm?sub=3268
Great tool, by the way