pixelLength = info.getPixelLength();
graphics.setBackgroundColor(info.getBackgroundColor());
mapModel.initialize(info);
setNavigationAddonEnabled(info.isPanButtonsEnabled());
setScalebarEnabled(info.isScaleBarEnabled());
painterVisitor.registerPainter(new FeaturePainter(new ShapeStyle(info.getPointSelectStyle()),
new ShapeStyle(info.getLineSelectStyle()), new ShapeStyle(info.getPolygonSelectStyle())));
for (final Layer<?> layer : mapModel.getLayers()) {
layer.addLayerChangedHandler(new LayerChangedHandler() {