smooth();
eventDispatcher = new EventDispatcher();
// OSM --------------------------------------------
mapOSM = new UnfoldingMap(this, "mapOSM", 10, 10, 400, 335);
// OSM to Satellite
mapOSMSmall = new UnfoldingMap(this, "mapOSMSmall", 420, 10, 260, 335);
mapOSMSmallSatBlend = new UnfoldingMap(this, "mapOSMSmallSatBlend", 690, 10, 260, 335, true, false,
new Microsoft.AerialProvider());
mapOSMSmallOSMBlend = new UnfoldingMap(this, "mapOSMSmallOSMBlend", 690, 10, 260, 335);
// FIXME MS Satellite maps may not be smaller than tile-size. Why? (This is new!)
mapOSMSmallSat = new UnfoldingMap(this, "mapOSMSmallSat", 960, 10, 260, 335, true, false,
new Microsoft.AerialProvider());
// Google -----------------------------------------
mapGoogle = new UnfoldingMap(this, "maoGoogle", 10, 355, 400, 335, true, false,
new Google.GoogleMapProvider());
// Google to Satellite
mapGoogleSmall = new UnfoldingMap(this, "mapGoogleSmall", 420, 355, 260, 335, true, false,
new Google.GoogleMapProvider());
mapGoogleSmallSatBlend = new UnfoldingMap(this, "mapGoogleSmallSatBlend", 690, 355, 260, 335, true,
false, new Microsoft.AerialProvider());
mapGoogleSmallGoogleBlend = new UnfoldingMap(this, "mapGoogleSmallGoogleBlend", 690, 355, 260, 335,
true, false, new Google.GoogleMapProvider());
mapGoogleSmallSat = new UnfoldingMap(this, "mapGoogleSmallSat", 960, 355, 260, 335, true, false,
new Microsoft.AerialProvider());
// First OSM and first google map are broadcasters
MouseHandler mouseHandler = new MouseHandler(this, mapOSM, mapGoogle);
eventDispatcher.addBroadcaster(mouseHandler);