code: private void refresh(final ClientMapInfo mapInfo) {
  		actualRefresh(mapInfo);
  		if (state == State.INITIALIZING) {
  			// only change the initial bounds the first time around
  			Bbox initialBounds = new Bbox(mapInfo.getInitialBounds());
  			mapView.applyBounds(initialBounds, MapView.ZoomOption.LEVEL_CLOSEST);
  		}
  		state = State.INITIALIZED;
  		fireRefreshEvents();
  		
  		while (whenInitializedRunnables.size() > 0) {
  			Runnable runnable = whenInitializedRunnables.remove(0);
  			runnable.run();
  		}
  	}
docs: Refresh the MapModel object, using a configuration object acquired from the server. This will automatically
  build the list of layers.
  
  @param mapInfo The configuration object.