[OpenLayers-Dev] OT: Re: Updating vector layers while dragging
jansen at terrestris.de
Thu Nov 19 07:58:41 EST 2009
sorry, no help from me on your question...this is OT:
Great use of OpenLayers!
Really a nice example of the vast possibilities OL gives its users.
Phil Gyford wrote:
> I recently built a site that uses OpenLayers
> (http://www.e4.com/misfits/ - click the 'Play' button). At the moment
> the vector layers only update after the user has finished dragging or
> panning the "map" which, I realise from the FAQ, is by design.
> Even so, I'd like to experiment with having the layers redraw while
> the map is being moved, to avoid the clickable images being
> "invisible" until the move has completed. The images (the objects in
> the draggable photo with red marks around them) are Vector Points with
> externalGraphics applied in a StyleMap.
> I've spent some time trying to work out how to try this but I'm
> stumped. Can anyone give me a pointer? Maybe I need to add something
> to the move() function of OpenLayers.Handler.Drag? Or is it somewhere
> else? And, once I've found the correct event, how do I make the images
> Many thanks,
More information about the Dev