Any update on this? I'd like to know this too.

On Mar 30, 9:22 am, Paul Miller <[email protected]> wrote:
> I'm trying to find a way to add some UI feedback to scroll wheel zoom
> in firefox.  In chrome, the map zooms visibly and you know your mouse
> wheel did something.  In firefox, at least on mine, there's virtually
> no feedback until seconds later when the new tiles start loading.
>
> On the regular old google maps, they provide a little box-getting-
> larger (or smaller) animation so you know your mouse wheel did
> something, but on my google maps api v3 app ... nothing.
>
> I tried this, but the animation usually happens long after the new
> tiles loaded.  It's not useful to give the feedback after the zoom
> changes...
>
>         google.maps.event.addListener(map, 'zoom_changed', function()
> {
>             var thisZoom = map.getZoom();
>
>             // this is the right idea, but happens way after the zoom,
> aka useless
>
>             if( currentZoom < thisZoom ) {
>                 // going in
>                 anim_circle.setMap(map);
>                 anim_circle.setCenter(map.getCenter());
>                 anim_circle.setRadius(50);
>                 setTimeout(function(){
>                     anim_circle.setCenter(map.getCenter());
>                     anim_circle.setRadius(100);
>                     setTimeout(function(){
>                         anim_circle.setCenter(map.getCenter());
>                         anim_circle.setRadius(200);
>                         setTimeout(function(){
>                             anim_circle.setMap(null);
>                         }, 150);
>                     }, 150);
>                 }, 150);
>   [...snip...]
>
> Is there away to turn on some feedback — if there is, I can't find it
> — or failling that, is there some way to hook an zoom event shortly
> before the zoom actually happens?

-- 
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