{
List<Layer> layers = new ArrayList<Layer>();
HashMap<String, String> optionsLayer = new HashMap<String, String>();
// optionsLayer.put("type", "G_HYBRID_MAP");
Layer layer = new GMap("GMap", GMAPS_KEY, "2", optionsLayer);
layers.add(layer);
HashMap<String, String> mapOptions = new HashMap<String, String>();
Bounds boundsExtend = new Bounds(new LonLat(-20037508.34,-20037508.34), new LonLat(20037508.34,20037508.34));
mapOptions.put("maxExtent", boundsExtend.getJSconstructor());
OpenLayersMap map = new OpenLayersMap("map", true, layers, mapOptions);