Draw polygons with a specified number of edges, center, and length. Rotate the drawn polygon by a specified angle. Set random values for polygon properties. Display the coordinates of the polygon's ...
//Create a random polygon in which to limit the drawing to. drawingArea = Microsoft.Maps.TestDataGenerator.getPolygons(1, map.getBounds(), 5, 0.5); map.entities.push ...