painterVisitor.registerPainter(new GeometryPainter());
painterVisitor.registerPainter(new ImagePainter());
painterVisitor.registerPainter(new MapModelPainter(this));
painterVisitor.registerPainter(new RasterLayerPainter(this));
painterVisitor.registerPainter(new RasterTilePainter());
painterVisitor.registerPainter(new VectorLayerPainter(this));
painterVisitor.registerPainter(new VectorTilePainter(this.getMapModel().getMapView()));
painterVisitor.registerPainter(new FeatureTransactionPainter(this));
// Install a default menu:
defaultMenu = new Menu();