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');
(RPG) Showing route from current location to a destination
-
MarkDuignan
- Posts: 346
- Joined: Wed Apr 18, 2012 10:33 am
(RPG) Showing route from current location to a destination
- Attachments
-
- exam0071.txt
- Showing route from current location to a destination
- (2.51 KiB) Downloaded 389 times
-
MarkDuignan
- Posts: 346
- Joined: Wed Apr 18, 2012 10:33 am
Re: (RPG) Showing route from current location to a destinati
This example is now shipped with LongRange.
See http://longrange.lansa.com.au/viewtopic.php?f=13&t=111
See http://longrange.lansa.com.au/viewtopic.php?f=13&t=111