Select to view content in your preferred language

Arcgis viewers for flex

2309
2
02-18-2014 08:03 PM
by Anonymous User
Not applicable
Currently i am facing a big problem with editing facility in flex viewers 3.6, to move polygon feature in editing mode ,
i want to disable the polygon move process in flex viewers .
how i stop it in viewers (as per flex Api it will be possible to whrer i need to change in code )
Tags (2)
0 Kudos
2 Replies
by Anonymous User
Not applicable
How to disable The graphics move event. to stop move a feature, once the EditTool is activated with that feature.

when we are using editing tool in arc gis flex viewers feature move with selection I want to disable move feature but update vertex feature working as it work .
I am seen it will be by default it active in code where i change it
please give regarding feedback ASP
..............................

autoMoveGraphicToTop property

autoMoveGraphicToTop:Boolean
Since : ArcGIS API 3.5 for API
If true, the selected graphic will be moved to the top of the stack within the parent graphics layer.

The default value is true.

This property can be used as the source for data binding.

Implementation
public function get autoMoveGraphicToTop():Boolean
public function set autoMoveGraphicToTop(value:Boolean):void
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Avinash Kumar Pate,

   Make sure you only post your question once (avoid cluttering the forum with the same question). I have merged your similar forum posts.  In the EditWidget.mxml just add:

editor.editTool.autoMoveGraphicToTop = false;