code: public void refreshCallback(ClientMapInfo info) {
  		if (info != null) {
  			// must be called before anything else !
  			unitLength = info.getUnitLength();
  			pixelLength = info.getPixelLength();
  			graphics.setBackgroundColor(info.getBackgroundColor());
  			featurePainter.setPointSelectStyle(new ShapeStyle(info.getPointSelectStyle()));
  			featurePainter.setLineSelectStyle(new ShapeStyle(info.getLineSelectStyle()));
  			featurePainter.setPolygonSelectStyle(new ShapeStyle(info.getPolygonSelectStyle()));
  			if (graphics.isReady()) {
  				setAddons();
  			}
  
  			for (final Layer<?> layer : mapModel.getLayers()) {
  				layer.addLayerChangedHandler(new LayerChangedHandler() {
  
  					public void onLabelChange(LayerLabeledEvent event) {
  						render(layer, null, RenderStatus.ALL);
  					}
  
  					public void onVisibleChange(LayerShownEvent event) {
  						render(layer, null, RenderStatus.ALL);
  					}
  
  				});
  
  				layer.addLayerStyleChangedHandler(new LayerStyleChangedHandler() {
  
  					public void onLayerStyleChange(LayerStyleChangeEvent event) {
  						render(layer, null, RenderStatus.ALL);
  					}
  				});
  			}
  			for (final VectorLayer layer : mapModel.getVectorLayers()) {
  				layer.addLayerFilteredHandler(new LayerFilteredHandler() {
  
  					public void onFilterChange(LayerFilteredEvent event) {
  						render(layer, null, RenderStatus.ALL);
  					}
  				});
  			}
  		}
  	}
docs: Callback used on refresh of the map widget.
  <p/>
  Can be extended to customize the map. Do not call directly.
  
  @param info
  map configuration