For some reason line 209’s symbol can’t be found, i’m not entirely sure what to do, any help would be much appreciated. (The line is 53 in this shortened snippet)
var g = Position.getInfo().position;
if(null != offscreenBuffer) {
dc.clearClip();
curClip = null;
// If we have an offscreen buffer that we are using to draw the background,
// set the draw context of that buffer as our target.
targetDc = offscreenBuffer.getDc();
targDc = offscreenBuffer.getDc();
} else {
targetDc = dc;
targDc = dc;}
if (g!=null)
{ g = Position.Location.getProjectedLocation(heading, 10000);
g = g.toDegrees();
find(g[0], g[1]);
g = null;
for(var i=0, yy=y-imgs-my; yy<y+imgs; yy+=imgs) {
for(var xx=x-imgs-mx; xx<x+imgs; xx+=imgs, i++) {
if(ar[i]!=null){
dc.drawBitmap(xx, yy, WatchUi.loadResource(ar[i]));}}}
}