Hello!At the end of drawing in drawWidget in the function activateDrawTool(event : MouseEvent) I have a codesetMapAction(drawType, drawStatus, null, map_drawEndHandler);
Then works function map_drawEndHandler(event : DrawEvent)var geom:Geometry = event.graphic.geometry; lastDrawnGraphic = new Graphic(geom); graphicsLayer.add(lastDrawnGraphic);
I have several layers in my project with different spatialReference. And I'd like to add graphic element with spatialReference of the layer, not the map. But event in function map_drawEndHandler(event:DrawEvent) already had spatialReference and coordinatesSystem of basemaps_layer in my config.xml. And lastDrawnGraphic will have coordinates according to basemaps_layer.Thanks in advance. And sorry for my bad english.