Page 1 of 1

(RPG) Showing route from current location to a destination

Posted: Mon Jun 18, 2012 4:26 pm
by MarkDuignan
The attached RPG program can be called by any form view.
The parameters are a destination latitude/longitude or a destination address.

The program causes a route map starting at the current iPad/iPhone location and ending at the location defined by the passed parameters to be displayed – basically how do I get from where I am now to a specified destination.

It is assumed that the application had at some stage previously turned on geo location like this:
LRNG_AssignStrToProp('Default' : '/System.Geo.UpdateFrequency');

Re: (RPG) Showing route from current location to a destinati

Posted: Fri Sep 07, 2012 10:36 am
by MarkDuignan
This example is now shipped with LongRange.
See http://longrange.lansa.com.au/viewtopic.php?f=13&t=111