Adding MeasureAction behavior funtionality to editor/templatepicker

447
2
05-17-2012 09:38 AM
JaredWhite
New Contributor III
Hi,
Just wondering if it's been done before and if not, does any one have any suggestions on how to do it?
0 Kudos
2 Replies
JenniferNery
Esri Regular Contributor
You can customize the look and feel of EditorWidget and/or TemplatePicker by following the steps in this blog post: http://blogs.esri.com/esri/arcgis/2010/05/28/localizing-arcgis-controls/. After you've created the style, you can add a button to the style that will have MeasureAction as seen in this SDK sample: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#UtilityActions
0 Kudos
JaredWhite
New Contributor III
Hi Jennifer,
Thanks as always for the quick answer. That was the route i was trying, but I'm not seeing a way to measure what I am drawing with the template picker as I am drawing it. If someone draws a line or polygon with the template picker, i need the measureaction to kick in so they can see it's measurements as they draw it. Other wise i could just add a measurement tool alongside my template picker and call it a day.
0 Kudos