[OpenLayers-Users] Re: Refreshing or redrawing OpenLayers.Layer.Vector

Nicolas Ippolito ippolito.nicolas at gmail.com
Thu Apr 28 16:15:09 EDT 2011


Hi,

I found the answer:

MyVectorLayer.refresh({ force: true, params: { 'key': Math.random()} });

Nico

2011/4/28 Nicolas Ippolito <ippolito.nicolas at gmail.com>

> Hi,
>
> I update features attributes on server side for a current vector layer with
> a specific styleMap.
>
> I would like to update the display with firebug using something like :
> MyVectorLayer.redraw() or MyVectorLayer.refresh().
>
> Is it possible ?
>
> Thanks,
>
> Nico
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110428/c019c1ba/attachment.html


More information about the Users mailing list