You can use the "zoomend" event:
GEvent.addListener(map,"zoomend",
function(oldLevel, newLevel) { your code here}
);
On 19 Nov., 19:09, dr4296 <[EMAIL PROTECTED]> wrote:
> Is there a way to display the current zoom level of the map to users
> and have it recalculate / redisplay every time they click "deeper" to
> zoom in ?
>
> I mean, I know I can use "var zoom = map.getZoom();" at the end of the
> map load. But I'm thinking this probably won't recalculate as the
> end users click and click again, zooming in and out on the map?
>
> I'd like to tell them what zoom level they are at at any given moment.
>
> Thanks!
>
> -= Dave =-
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---