Maybe look into the JSTS?<div><br></div><div><span></span><a href="https://github.com/bjornharrtell/jsts">https://github.com/bjornharrtell/jsts</a><br><br>On Friday, May 31, 2013, <a href="mailto:mail.roliveira@gmail.com">mail.roliveira@gmail.com</a>  wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">How do I draw a line, starting from a known point, and knowing only it's length in meters and it's angle?<div><br>
</div><div>Suppose I have a point at:</div><div><br></div><div>PointA:</div><div><div><span>lat: </span>-22.29417905166, lon: 19.022827148438</div><div>(EPSG:4326)</div><div><br></div><div>Now I want to draw a line 500 meters long with an angle of 15 degrees (0 degrees is an horizontal line).</div>
<div><br></div><div>OpenLayers.Geometry.LineString allows to draw only a point from two points...</div><div><br></div><div>Any ideas?</div><div><br><br><div>Sent from Alto - <a href="http://altomail.com" target="_blank">altomail.com</a></div>
</div></div></blockquote></div>