I am trying to get the location points from a single shape that I am pulling from a layer of the Map control. I am using the following code to get the shape I want:
var shape = WorkspaceSpaces.Source.Shapes.Where(s => s.GetAttribute("ID").ToString().Equals("1")).FirstOrDefault();
This returns an IMapShape which does not have what I need, when I debug the code I can see that it appears to be using an internal class MapPolygonModel which contains the locations I need.
What I am trying to do is draw a new pushpin on top of this location. I am unable to use the tooltip because I will need to have multiple pushpins dropped at once and they are shown programatically not from a users interacting with the map.
Any help would be great!