Thanks Eric, I have tried movestart with not the effect I want. But after I have send the mail, I got the solution.
The problem is, that FF slowed down rapidly, when I set the center of the map in a high zoomlevel to a new place (i.e. from Paris to Sydney) and have vectorfeatures in the current view of the map. Set the visibility to false is not sufficient, i have to kill the features. The point is, I take the action of setting the new center and have to do the task. Now I was able to build the code to prevend FF going to sleep. The result can be seen here : http://gis.ibbeck.de/ginfo/apps/ClickPoint/clickpoint.html Mit freundlichen Grüssen Arnd Wippermann http://gis.ibbeck.de/ginfo/ -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 4. Mai 2008 13:59 An: Arnd Wippermann Cc: [email protected] Betreff: Re: [OpenLayers-Users] setCenter with visible vectorlayers Hi Arnd, On Sat, May 3, 2008 at 1:14 AM, Arnd Wippermann <[EMAIL PROTECTED]> 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 _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
