P.S. Can this be related to the new version 2.9?<div><br></div><div>Thanks!!<br><br><div class="gmail_quote">2010/4/29 JuKiM <span dir="ltr">&lt;<a href="mailto:rifins@gmail.com">rifins@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<div><br></div><div>I have a baselayer of google maps, and some markers displayed on it.</div><div>Then there is an option to draw a line between all the markers, and then there is another option, of drawing arrows indicating the direction..</div>

<div>My problem is that when I draw the line with the arrows, when I zoom in/out, the arrows don&#39;t stay at place.. </div><div>If I zoom out one time, and then I zoom in, the arrows are again in the same place..</div>
<div>
If I zoom out one time, move the map, and zoom in, the arrows are displaced respect the markers..</div><div>This is happening in firefox, in IE7 the arrows mantains correctly</div><div><br></div><div>I add the layer of the markers like this:</div>

<div><br></div><div><div>function ResetLyrArrow() {</div><div>    if (lyrArrowLine) {</div><div>        lyrArrowLine.destroy();</div><div>    }</div><div><br></div><div>    lyrArrowLine = new OpenLayers.Layer.Vector(&#39;&#39;, {</div>

<div>        styleMap: new OpenLayers.StyleMap({</div><div>            &quot;default&quot;: {</div><div>                &quot;externalGraphic&quot;: &quot;images/arrow.png&quot;,</div><div>                &quot;graphicWidth&quot;: 11,</div>

<div>                &quot;graphicHeight&quot;: 11,</div><div>                &quot;graphicYOffset&quot;: -5,</div><div>                &quot;graphicXOffset&quot;: 0,</div><div>                &quot;rotation&quot;: &quot;${angle}&quot;</div>

<div>            }</div><div>        })</div><div>    });</div><div>    lyrArrowLine.displayInLayerSwitcher = false;</div><div>    if (map) {</div><div>        map.addLayers([lyrArrowLine]);</div><div>    }</div><div>}</div>

<div><br></div><div>Maybe, the layer has to be created with sphericalmercator?</div><div><br></div><div>Thanks a lot!</div></div>
</blockquote></div><br></div>