Thanks, I will have a look.<div><br></div><div><br></div><div>The move(x, y) method of OpenLayers.Geometry.Point may be helpful. But I don't understand the x, y arguments... What are the units of those values?</div><div><br></div><div>this could help if I move a clone of pointA.<br><br><br><div class="">Sent from Alto - <a href="http://altomail.com">altomail.com</a></div><br><br><br><hr style="border:0;height:1px;color:#999;background-color:#999;width:100%;margin:0 0 9px 0;padding:0;"><b>From: </b>wallyatkins@gmail.com<wallyatkins@gmail.com><br><b>To: </b>mail.roliveira@gmail.com<mail.roliveira@gmail.com><br><b>cc: </b>openlayers-users@lists.osgeo.org<openlayers-users@lists.osgeo.org><br><b>Sent: </b>Friday, May 31, 2013<br><b>Subject: </b>Re: [OpenLayers-Users] Draw a line knowing its length in meters e it's angle<br><br><title></title>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>
</div>