setRenderManagerInternal((RenderManager) context.getRenderManager());
setMapInternal((Map) context.getMap());
vpg = new AWTGraphics(destination, context.getMapDisplay().getDPI());
//add listener if doesn't already exist for layer
IViewportModelListener listener = (IViewportModelListener)context.getLayer().getBlackboard().get(BLACKBOARD_LAYER_KEY);
if (listener == null){
listener = new IViewportModelListener(){
public void changed( ViewportModelEvent event ) {
// need to invalidate image & refresh the layer
if (!context.getMap().getViewportModel().isBoundsChanging()){
context.getLayer().getBlackboard().put(MapGraphicRenderer.BLACKBOARD_IMAGE_KEY, null);
context.getLayer().refresh(null);