Hi
What about using something like:
LatLonPoint ll = new LatLonPoint(llp[0], llp[1]);
LatLonPoint mostForwardP = ll.getPoint(Length.METER.toRadians(distToStem),
ProjMath.degToRad(heading));
http://openmap.bbn.com/doc/api/com/bbn/openmap/LatLonPoint.html
regards
/carsten
Ste'phane Wasserhardt wrote:
> Hello !
>
> I'm searching for an openMap method which can determine a new Location
> from a location, a heading (in degrees or radians) and a distance (in
> lat/lon space). For instance :
> "Location moveBy(Location origin, {float or double} heading, {float or
> double} distance)".
> There's no such method in the Location class, but there may be a
> static one elsewhere...
>
> Thanks in advance !
> Stephane
>
> --
> [To unsubscribe to this list send an email to "majdart_at_bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Aug 28 2006 - 08:59:21 EDT