RE [Polluriel potentiel] [OpenLayers-Users] force update markers layer

Jan Hartmann j.l.h.hartmann at uva.nl
Wed Mar 7 10:56:57 EST 2012


No, it tried that. According to the documentation, the redraw function 
does not take a parameter.

Jan

On 03/07/2012 04:45 PM, Steve.Toutant at inspq.qc.ca wrote:
>
> Is this working?
> vectorLayer.redraw(true);
>
>
>
>
> *Jan Hartmann <j.l.h.hartmann at uva.nl>@lists.osgeo.org*
> Envoyé par : openlayers-users-bounces at lists.osgeo.org
>
> 2012-03-07 10:27
>
> 	
> A
> 	openlayers-users at lists.osgeo.org
> cc
> 	
> Objet
> 	[Polluriel potentiel]  [OpenLayers-Users] force update markers layer
>
>
>
> 	
>
>
>
>
>
>
>
> Hi,
>
> How do I force a redraw on a markers layer? I have a regular WMS map 
> with markers that have their lonlat-values updated from a database. I 
> can force a redraw of the WMS layer with mergenewparams(), but that is 
> not possible with the markers layer. That means that the when the 
> lonlat values are updated and I move the map, the markers remain in 
> their original positions. Only when I zoom in or out, the marker 
> positions are updated. Can I do something about that?
>
> Jan_______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120307/78abd8b4/attachment.html


More information about the Users mailing list