public void doAfterCompose(Window comp) throws Exception {
super.doAfterCompose(comp);
String apiKey = "AqTGBsziZHIJYYxgivLBf0hVdrAk9mWO5cQcb8Yux8sW5M8c8opEC2lZqKR1ZZXf";
map.addLayer(new Bing(toMap(pair("key", apiKey),
pair("type", "Road"),
// custom metadata parameter to request the new map style - only
// useful
// before May 1st, 2011
pair("metadataParams", toMap(pair("mapVersion", "v1"))))));
map.addLayer(new Bing(toMap(pair("key", apiKey),
pair("type", "Aerial"))));
map.addLayer(new Bing(toMap(pair("key", apiKey),
pair("type", "AerialWithLabels"),
pair("name", "Bing Aerial With Labels"))));
map.addControl(new LayerSwitcher());
map.setCenter(new LonLat(-71.147, 42.472).transform(new Projection(