(RPG) Showing route from current location to a destination
Posted: Mon Jun 18, 2012 4:26 pm
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');
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');