org.eclipse.draw2d.geometry.Dimension size = getBox().getSize();
Rectangle rect = new Rectangle(size.width - 1, size.height - 1);
layer.getStyleBlackboard().put(LocationStyleContent.ID, rect);
layers.add(layer);
MapGraphicRenderer renderer = new MapGraphicRenderer();
CompositeRenderContext toUseForRendering = createRenderContext(info, layer);
renderer.setContext(toUseForRendering);
renderer.render(graphics, monitor);
}