<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    I believe that Andreas has updated a function that would help in
    this regard called "tween", I think<br>
    <br>
    Unaware of that, I built a rather complex animation tool.&nbsp; You can
    see a temporary example at
    <a class="moz-txt-link-freetext" href="http://track.pacificcup.org/track.php?race=transpac">http://track.pacificcup.org/track.php?race=transpac</a><br>
    <br>
    Select a boat from the left of the screen and then use the vcr
    controls at the top to animate.<br>
    <br>
    It works by maintaining an array of points that parallels the points
    in the linestring.&nbsp; At selected intervals, I add a point from the
    array to the linestring.&nbsp; Then I clear the linestring at the end.<br>
    <br>
    To do fancier stuff, like go in reverse, I added a time attribute to
    each point, so I can count backwards through the vertices (points)
    of the linestring till I get to one that is older than the new
    cutoff time, deleting the newer ones.<br>
    <br>
    The code is, well, complex, because the page is doing a bunch of
    other things.&nbsp; I keep meaning to extract an example, and perhaps I
    should!&nbsp; Meantime, it IS possible.<br>
    <br>
    Michael<br>
    <br>
    On 8/6/2011 4:12 AM, Luke Mackenzie wrote:
    <blockquote
      cite="mid:D4B4D012-8C14-441D-89BA-5E3D424B0947@lukem.co.uk"
      type="cite">Hi,
      <div><br>
      </div>
      <div>This page contains a broken ink to an animated polyine
        example (Line Animator):</div>
      <div><br>
      </div>
      <div><a moz-do-not-send="true"
          href="http://trac.osgeo.org/openlayers/wiki/UserRecipes#Other">http://trac.osgeo.org/openlayers/wiki/UserRecipes#Other</a></div>
      <div><br>
      </div>
      <div>Does anyone have a copy of this example? I would like to know
        if ti would be possible to create an effect like this using
        openlayers:</div>
      <div><br>
      </div>
      <div><a moz-do-not-send="true"
          href="http://econym.org.uk/gmap/example_cartrip2.htm">http://econym.org.uk/gmap/example_cartrip2.htm</a>&nbsp;(click
        start).</div>
      <div><br>
      </div>
      <div>I actually don't need the map panning or to follow driving
        directions as my use case requires a generic world map with the
        polylines linking major cities. A closer example would be
        animated flight paths.</div>
      <div><br>
      </div>
      <div>I would be extremely grateful if anyone could provide the
        missing example or offer any advice on how to achieve this. I've
        been playing with the cloudmade leaflet maps here:</div>
      <div><br>
      </div>
      <div><a moz-do-not-send="true"
          href="http://jsfiddle.net/codecowboy/XkShV/22/">http://jsfiddle.net/codecowboy/XkShV/22/</a>&nbsp;(
        I want to animate the red line - I will need to dynamically add
        lines to the map based on lat/longs and distance covered by
        users)</div>
      <div><br>
      </div>
      <div>Many thanks,</div>
      <div><br>
      </div>
      <div>Luke Mackenzie</div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a>
</pre>
    </blockquote>
  </body>
</html>