21222324252627
size(800, 600, OPENGL); map = new UnfoldingMap(this); map.zoomAndPanTo(new Location(52.5f, 13.4f), 10); // MapUtils.createDefaultEventDispatcher(this, map); compass = new CompassUI(this, map); }
26272829303132
map = new UnfoldingMap(this); map.zoomAndPanTo(new Location(52.5f, 13.4f), 10); MapUtils.createDefaultEventDispatcher(this, map); compassImg = loadImage("ui/compass_grey.png"); compass = new CompassUI(this, map, compassImg, 700, 100); }