[OpenLayers-Users] Making a change of style permanent

Tim Schaub noreply at geocartic.com
Fri Apr 6 12:15:15 EDT 2007


Hey-

Nick Whitelegg wrote:
> // Redraw selected feature in new colour
> vectorLayer.redrawFeature(selectedFeature,style);

Watch ticket #628 [1].

If this patch is accepted, layer.redrawFeature() will be changed to 
layer.drawFeature().

I'm going to have a tantrum if layer.redrawFeature() makes it in to 2.4. 
  (Since the renderer decides whether to draw or redraw based on the 
feature that you pass it).

Tim

[1] http://trac.openlayers.org/ticket/628



More information about the Users mailing list