I have a var 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 when g is not null……… }
I would like to on each tap of the upper, lower, left or right of the screen modify g[0] and g[1] (aka the latitude and longitude) by 1.0 degrees and that to not reset until I tapped the center of the screen. Now I’ve already got the delegate checking for the location of onTap but I am not sure how to modify g[0] and g[1]. Finally due to it being in onUpdate I am unsure if when onUpdate updates itself whether this would even work.
Would anybody happen to know how to do this?
Help is much appreciated.