How do you use getprojectedLocation?

I have in onUpdate

var g = Position.getInfo().position;

underneath it also in onUpdate it says:

if g != null {

g = g.toDegrees();

find (g[0],g[1]);  (which is of course the lat and longitude of g)

g = null; 

……(excluded bitmap stuff here that occurs...

this takes my lat long from gps and an array of pngs of a map (not an actual map as its a non map device) and adjusts it around according to my gps position.

I would like to use projected location to move it on a button press or single tap (depending whether its touch or not touch) to mimic panning, only question is how do I do that?, looking at the toybox docs it only says

getProjectedLocation(angle as Lang.Numeric, distance as Lang.Numeric) as Position.Location

Get a Location object that is offset from the current position by a given distance and angle.

Parameters:

  • angle — (Lang.Float) —

    The angle in radians from north.

  • distance — (Lang.Float) —

    The distance from the current position in meters (m).

Returns:

  • Position.Location —

    The projected location.

    since Api level 3.0

    do I just replace Position.getInfo().position with Position.getProjectedLocation(heading, 10000)? 
    If so then that sounds easy enough but I just wanted to make sure.