[OpenLayers-Users] listener on zoom
Eric Lemoine
eric.c2c at gmail.com
Tue Jul 29 18:17:11 EDT 2008
On Tue, Jul 29, 2008 at 9:01 PM, Alexandre Dube <adube at mapgears.com> wrote:
> Eric,
Hi Alexandre,
> After trying this and that, I found out how it works. Buy thank you
> anyway, Eric.
>
> Actually, I used the Scale Control as my example, because I though "It
> does the same thing !" ( change a value each time we zoom ). But, I found
> out that this control uses moveend instead of zoomend. Is there a reason
> for that ? To recalculate the scale after panning doesn't look very useful
> to me. What do you think ?
I haven't looked into detail but I'd agree with you that things could
be optimized by using zoomend as opposed to moveend.
--
Eric
More information about the Users
mailing list