No way to set Line and Fill on Shapes


There is no way of setting the Line and Fill of VEShape objects.
THis is needed to customize the look of polygons and also to set them to not show is using Custom Icons.


AdamE wrote Sep 13, 2008 at 2:11 PM

This is actually by design. VEShape is a subclass, you should be using VEPolygon if the shape is a polygon, or VEPushPin for a PushPin. Only the methods that can actually be legally called are available on each type. Just cast VEShape to the actual shape you need, and everything will be available. Look at the sample for casts to VEPushPin for an example.

wrote Feb 12, 2013 at 7:16 PM