this.graphicsId = graphicsId;
// append a raster context
rasterContext = new DefaultImageContext(eventWidget.getWidget());
// append a vector context
if (SC.isIE()) {
vectorContext = new VmlGraphicsContext(eventWidget.getWidget());
} else {
vectorContext = new SvgGraphicsContext(eventWidget.getWidget());
}
menuContext = new MapMenuContext();
handlers = new ArrayList<HandlerRegistration>();