Select to view content in your preferred language

Add Circles and Ellipses to a Feature Layer

775
0
08-10-2011 12:30 AM
GISTeam
Deactivated User
Hello,

I'm trying to create a Flex app in which I can use the DrawTool and EditTool to add and edit different shapes of polygons to a Feature Layer. I'm using two ESRI examples - "Editing a feature layer without the Editor component" and "Edit graphics with the EditTool". I managed to get the DrawTool to draw circles and add them to the FeatureLayer, but first you have to click on a FeatureLayer symbol. I have only one symbol and want it to be turned on all the time. And after you click on the FeatureLayer symbol and then on the desired shape and you actually start to draw a shape - you can't see what you are drawing until the drawing is complete and you see only the finished result.

I'm struggling to see what I have to change to eliminate these problems. I'm attaching the mxml, if anybody can help.
Tags (2)
0 Kudos
0 Replies