Never mind - managed to get it working using a setTimeout(), and a few
other little tricks :)

Cheers

Andy

On Mar 18, 7:31 pm, youradds <[email protected]> wrote:
> Hi,
>
> I'm currently using this code to run an AJAX call when someone resizes
> the map:
>
> GEvent.addListener(map, "resize", function(oldzoom,newzoom) {
>    .. the AJAX code here
>
> }
>
> This works fine, but there seems to be one downside. It seems that
> every single "step" of the resize, this listener is called.
>
> Is there a way to ONLY run this one time for the entire resize?
>
> TIA
>
> Andy

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