Shots in the dark ... 1) call the redrawFeature function of the layer across the features. 2) call the "layer.redraw()" function.
----- Original Message ---- > From: Marc Jansen <jan...@terrestris.de> > To: p...@gyford.com > Cc: dev@openlayers.org > Sent: Thu, November 19, 2009 6:58:41 AM > Subject: [OpenLayers-Dev] OT: Re: Updating vector layers while dragging > > Hi Phil, > > 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. > > Regards, > Marc > > > > Phil Gyford wrote: > > Hi, > > > > 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 > > re-draw? > > > > Many thanks, > > Phil > > > > > > _______________________________________________ > Dev mailing list > Dev@openlayers.org > http://openlayers.org/mailman/listinfo/dev _______________________________________________ Dev mailing list Dev@openlayers.org http://openlayers.org/mailman/listinfo/dev