code: public void setMap(Map map) {
  		this.map = (MapImpl) map;
  		mapWidget = this.map.getMapWidget();
  		delegate = new GeometryEditorImpl(mapWidget);
  		editingService = new JsGeometryEditService(delegate.getEditService());
  		splitService = new JsGeometrySplitService(delegate.getEditService());
  		mergeService = new JsGeometryMergeService();
  		renderer = new JsGeometryRenderer(delegate.getRenderer());
  		styleService = new JsStyleService(delegate.getStyleService());
  		snapService = new JsSnapService(this);
  	}
docs: Set the map.
  
  @param map map