How to add a polygon as a VEShape/pushpin

Nov 24, 2011 at 5:11 PM

Hello everyone,

I want to add a series of code generated polygons to my VEmap. Either as VEShapes or pushpins. I have all the code to generate PolygonGeometry objects/points, but I'm not grasping on how to wrap that information inside a VEShape/pushpin.

I've read some threads here on how to create a class that inherits from VEShape to achieve a similar purpose, however I need some pointers on how I can successfully do this for polygons (either Microsoft.MapPoint.Rendering3D.Utility.PolygonGeometry objects or some other polygon object.

Can anyone help me on this? Thanks in advance