Select to view content in your preferred language

Problem with Edit Widget

716
1
07-19-2011 07:24 AM
daro
by
New Contributor
Hi all,
I have a problem with Edit Widget (Flex 2.3.1). I want to close FeatureLayer when I close the Edit Widget.
Because when I close the Edit Widget, i have both icons overlapping (FeatureLayer AND Maplayer).

How to stop displaying FeatureLayer when I close the Edit Widget ?

Thanks a lot
Tags (2)
0 Kudos
1 Reply
BjornSvensson
Esri Regular Contributor
Are you using the compiled version or the source code of the Flex Viewer?

If you are using the compiled version of Flex Viewer, then that exact behavior is not possible.  However, you could change the behavior of your <layer>'s so that the editable features are only included in the layer of type="feature" but not in layer="dynamic".

Or you could use the source code to create your own version of the Edit Widget...
0 Kudos