code: public void accept(PainterVisitor visitor, Object group, Bbox bounds, boolean recursive) {
  		map.getVectorContext().drawGroup(group, this);
  
  		Coordinate c = getUpperLeftCorner();
  		PictureStyle pictureStyle = new PictureStyle(1);
  		pictureStyle.setClassName("gm-ZoomToRectangleControl");
  		map.getVectorContext().drawImage(this, "zoom-rect-img",
  				Geomajas.getIsomorphicDir() + "geomajas/mapaddon/zoom_rectangle.png",
  				new Bbox(c.getX(), c.getY(), 20, 20), pictureStyle);
  
  		if (firstTime) {
  			map.getVectorContext().setController(this, "zoom-rect-img", new ActivateRectangleController(map),
  					Event.MOUSEEVENTS);
  			map.getVectorContext().setCursor(this, "zoom-rect-img", Cursor.POINTER.getValue());
  		}
  		firstTime = false;
  	}
docs: Paint this zoom to rectangle button!