@Wire
private Openlayers map;
public void doAfterCompose(Window comp) throws Exception {
super.doAfterCompose(comp);
map.addLayer(new Google("Google Streets", toMap(pair("type", Google.Type.NORMAL))));
map.addLayer(new Google("Google Satellite", toMap(pair("numZoomLevels", 20))));
map.addLayer(new Google("Google Hybrid", toMap(pair("type", Google.Type.HYBRID), pair("numZoomLevels", 20))));
map.addLayer(new Google("Google Physical", toMap(pair("type", Google.Type.SATELLITE), pair("numZoomLevels", 22))));
map.addControl(new LayerSwitcher());
map.setCenter(new LonLat(10.2, 48.9), 5, false, false);
}