[OpenLayers-Users] setCenter with visible vectorlayers
Eric Lemoine
eric.c2c at gmail.com
Sun May 4 07:59:17 EDT 2008
Hi Arnd,
On Sat, May 3, 2008 at 1:14 AM, Arnd Wippermann <arnd.wippermann at web.de> wrote:
> Is there a way to capture the event zoomstart (like zoomend)?
>From the API doc:
* - *movestart* triggered after the start of a drag, pan, or zoom
* - *move* triggered after each drag, pan, or zoom
* - *moveend* triggered after a drag, pan, or zoom completes
* - *zoomend* triggered after a zoom completes
* - *dragstart* triggered after the start of a drag
* - *drag* triggered after a drag
* - *dragend* triggered after the end of a drag
In your case, using dragstart and dragend did seem the way to go to
me. However, I've looked at the code (trunk) and the drag* events seem
to be never triggered by OpenLayers. Does anyone know why?
--
Eric
More information about the Users
mailing list