Is it possible to override the ZOOM functionality fired from double
clicking the map or clicking the GSmallMapControl()?

The reason for this is that I need to call a method prior to the map
zoom occurring.

I extended the GMap2 class with overriding of zoomIn() and setZoom()
The overridden implementation works when I call map.zoomIn() or
map.setZoom(i).

However, it doesn't work when:
- double clicking on the map to zoom in
- clicking the GSmallMapControl() "Zoom In" icon.

One thought is that perhaps the map double click and GSmallMapControl
() are not calling the zoomIn() or setZoom() - so overriding these
methods wont work.

As such:
- can the zoom functionality be overridden?
- is there other methods that should be overridden?

Any other tips on how to force a call to another method prior to the
Zoom occurring would be appreciated.
Thanks.


GMap2 extended examples:
http://119.31.230.85/ExtendingGoogleMaps.htm

(This works with Firefox and writes events to the console)
http://119.31.230.85/ExtendingGoogleMapsFirefoxConsole.htm










--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to