Select to view content in your preferred language

Possibility to change icons of vertices of polygon

998
3
Jump to solution
11-05-2012 03:50 AM
AndrewIosida
Emerging Contributor
Hello!
Is it possible to change icons (grey rectangles) of vertices than shows up when user clicks on a polygon to something else? For example to a cross, or to transparent rectangles.
I'm using Enhanced Draw Widget Version 3.0.2 by rscheitlin.
Thanks in advance.
[ATTACH=CONFIG]19006[/ATTACH]
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Andrew,

    Yes this can be done by referring to the EditTool documentation here (look for vertexSymbol):

http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/tools/EditTool.html

Now is this configurable in the eDrawWidget... No. That is not a common thing people are wanting to do so I have not and probably will not make that a configurable option.

BTW as this is a Flex Viewer/Widget question this post really belongs in the dedicated Flex Viewer forum:

http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex

Don't forget to click the Mark as answer check on this post and to click the top arrow (promote).
Follow these steps as shown in the below graphic:

View solution in original post

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus
Andrew,

    Yes this can be done by referring to the EditTool documentation here (look for vertexSymbol):

http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/tools/EditTool.html

Now is this configurable in the eDrawWidget... No. That is not a common thing people are wanting to do so I have not and probably will not make that a configurable option.

BTW as this is a Flex Viewer/Widget question this post really belongs in the dedicated Flex Viewer forum:

http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex

Don't forget to click the Mark as answer check on this post and to click the top arrow (promote).
Follow these steps as shown in the below graphic:

0 Kudos
AndrewIosida
Emerging Contributor
Thank you Robert.
Yes, this is not a common thing. It would be great if You add to this widget possibility to see sizes of graphicElements while drawing them.
Like in this widget:
http://www.arcgis.com/home/item.html?id=36a80475e5d740279854398d3f7b6d01
Thanks.
0 Kudos
IvanBespalov
Frequent Contributor
EditTool has properties ghostVertexSymbol and vertexSymbol
define symbols in editTool declaration:
<esri:EditTool id="editTool" map="{map}">
 <esri:ghostVertexSymbol>
  <!-- put your symbol here -->
 </esri:ghostVertexSymbol>
 <esri:vertexSymbol>
  <!-- put your symbol here -->
 </esri:vertexSymbol>
</esri:EditTool>
0 Kudos