DebugDisplay debugDisplay2;
public void setup() {
size(1024, 768, OPENGL);
map1 = new UnfoldingMap(this, "map1", 0, 0, 512, height);
map1.zoomAndPanTo(new Location(52.5f, 13.4f), 10);
map2 = new UnfoldingMap(this, "map2", 512, 0, 512, height, true, false, new Microsoft.AerialProvider());
EventDispatcher eventDispatcher = MapUtils.createDefaultEventDispatcher(this, map1, map2);
// Create debug displays
debugDisplay1 = new DebugDisplay(this, map1, eventDispatcher, 10, 10);
debugDisplay2 = new DebugDisplay(this, map2, eventDispatcher, 522, 10);