How to Display a Polygon Created in Workflow on the map
I need to know what is the correct activity to use to get a polygon or a collection of map points to display on the map once you have it built in a workflow. I have a geocode task that pulls back a set of addresses which I then convert to a collection of mappoints. I then assign that collection to a polygon.Rings object. I also set the spatial reference of the polygon to that of my map. How would I get that polygon to display on my map?
I can copy my XAML code if need be.
Thanks,
-
Use the Run External Command activity, Command Name is AddMarkup (or AddMarkupGeometry, this is interchangeable) and Command Parameter is the geometry (data type ESRI.ArcGIS.Client.Geometry.Geometry).
See the documentation of the commands in the Silverlight Viewer Administrator and Developer Guide.
0
Please sign in to leave a comment.
Comments
1 comment