Google have added Polylines and Polygons to Maps API v3 and made some great improvements to their use. Polylines and polygons allow you to draw lines or filled regions on a map, specify stroke and fill styles, and handle events.
Now you can create polygons with holes like in this Pentagon example.
You can also now create vertices with polygons as in this fractal snowflake poly example.
Via: Google Geo Developers Blog