Bing Maps Advanced Shapes, available today - is a module to add to your Bing Maps AJAX v7 Control implementation for rendering complex shapes on Bing maps.
In this initial release, "the idea is fairly straightforward: if you want to render holes in your polygons, now you can by simply passing in an array of lat, lons and, holy maps it's done!," said Chris Pendleton.
Adding, "There are many scenarios that are applicable for a polygon with holes: polygons for land, holes for lakes; polygons for areas of importance, holes for those without importance; or, polygons for retails space; holes for areas not available (or vice versa)," Pendleton explains.
In addition to the rendering of polygons and holes, the Advanced Shapes Module also supports a few aesthetic features such as fill color, fill opacity, border color, border style (dash), border thickness, visibility (for showing and hiding) and infoboxes for annotation.
The code is simple and the documents provide full examples allowing you to cut, paste and run to get you started.