GoogleMapBootstrapper.whenReady(new Runnable() {
@Override
public void run() {
MapOptions defaultMapOptions = new MapOptions();
defaultMapOptions.setNumZoomLevels(16);
final MapWidget mapWidget = new MapWidget("100%", "100%", defaultMapOptions);
mapContainer.add(mapWidget);
final Map map = mapWidget.getMap();
OSM osm = OSM.Mapnik("Mapnik");
osm.setIsBaseLayer(true);
map.addLayer(osm);
vectorLayer = new Vector("Fence");