List of usage examples for com.google.gwt.maps.client MapOptions setBackgroundColor
public final native void setBackgroundColor(String backgroundColor) ;
From source file:pl.itrack.client.local.services.maps.TricitySchemaService.java
License:Apache License
@Override public MapOptions getMapOptions() { MapTypeControlOptions controlOpts = MapTypeControlOptions.newInstance(); controlOpts.setMapTypeIds(new String[] { MAP_TYPE_ID }); MapOptions opts = MapOptions.newInstance(); opts.setZoom(ZOOM_INITIAL);//from w ww . j ava 2 s.com opts.setMapTypeControlOptions(controlOpts); opts.setPanControl(false); opts.setStreetViewControl(false); opts.setBackgroundColor(BACKGROUND_COLOR); opts.setCenter(LatLng.newInstance(INITIAL_LATITUDE, INITIAL_LONGITUDE)); return opts; }