Select to view content in your preferred language

How to use <esri:Editor> in flex viewer

2967
10
04-08-2011 10:49 AM
LeiZhou
Deactivated User
I need to create a <esri:Editor> in my widget in flex viewer. I need to edit the map in flex viewer (See code); the sample is too complicated and I need a simple one. 

<esri:Editor id="myEditor"
geometryService="{new GeometryService('http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer')}"
map=???
toolbarVisible="true"/>

I don't know how set the property "map".
In widget, there is no code like <esri:Map id="myMap">, so that I can set map="{myMap}"

How do I let my Editor connect to <esri:Map> so that I can edit feature service? Should I go to config.xml file to get the operation layer ? Thanks a lot!
Tags (2)
0 Kudos
10 Replies
VenkatM
Emerging Contributor
Hi Seniors,

Is there any way to customize the toolbar further not to show 'clear selection', 'scissors', 'previous',' next','delete' etc buttons in the Editor toolbar like not showing 'reshape', 'merge' and 'cutVisible' by like setting false as 'toolbarCutVisible', 'toolbarReshapeVisible' and 'toolbarMergeVisible'.


Thanks in advance for the reply's.

-Venkat.
0 Kudos