<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Times New Roman, Times, serif">No, it tried that.
According to the documentation, the redraw function does not take
a parameter.<br>
<br>
Jan<br>
</font><br>
On 03/07/2012 04:45 PM, <a class="moz-txt-link-abbreviated" href="mailto:Steve.Toutant@inspq.qc.ca">Steve.Toutant@inspq.qc.ca</a> wrote:
<blockquote
cite="mid:OF955F754E.8928EC6B-ON852579BA.005669C4-852579BA.00568C82@isn.rtss.qc.ca"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<br>
<font face="sans-serif" size="2">Is this working?</font>
<br>
<font face="sans-serif" size="2">vectorLayer.redraw(true);<br>
</font>
<br>
<br>
<br>
<br>
<table width="100%">
<tbody>
<tr valign="top">
<td width="40%"><font face="sans-serif" size="1"><b>Jan
Hartmann <a class="moz-txt-link-rfc2396E" href="mailto:j.l.h.hartmann@uva.nl"><j.l.h.hartmann@uva.nl></a>@lists.osgeo.org</b>
</font>
<br>
<font face="sans-serif" size="1">Envoyé par :
<a class="moz-txt-link-abbreviated" href="mailto:openlayers-users-bounces@lists.osgeo.org">openlayers-users-bounces@lists.osgeo.org</a></font>
<p><font face="sans-serif" size="1">2012-03-07 10:27</font>
</p>
</td>
<td width="59%">
<table width="100%">
<tbody>
<tr valign="top">
<td>
<div align="right"><font face="sans-serif"
size="1">A</font></div>
</td>
<td><font face="sans-serif" size="1"><a class="moz-txt-link-abbreviated" href="mailto:openlayers-users@lists.osgeo.org">openlayers-users@lists.osgeo.org</a></font>
</td>
</tr>
<tr valign="top">
<td>
<div align="right"><font face="sans-serif"
size="1">cc</font></div>
</td>
<td>
<br>
</td>
</tr>
<tr valign="top">
<td>
<div align="right"><font face="sans-serif"
size="1">Objet</font></div>
</td>
<td><font face="sans-serif" size="1">[Polluriel
potentiel] [OpenLayers-Users]
force update markers layer</font></td>
</tr>
</tbody>
</table>
<br>
<table>
<tbody>
<tr valign="top">
<td>
<br>
</td>
<td><br>
</td>
</tr>
</tbody>
</table>
<br>
</td>
</tr>
</tbody>
</table>
<br>
<br>
<br>
<br>
<br>
<font face="Times New Roman" size="3">Hi,<br>
<br>
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?<br>
<br>
Jan</font><tt><font size="2">_______________________________________________<br>
Users mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</font></tt>
<br>
<br>
<br>
</blockquote>
</body>
</html>