In API v2.69 in Firefox.
The first four parameters control the border and are exactly the same as
for GPolyline, i.e.
Array of GLatLngs
Colour
Weight
Opacity
Then the next two parameters control the fill
Fill colour in the format "#RRGGBB"
Fill opacity, a number between 0 and 1.
If the Boundary Weight is zero or absent, then the boundary drawing
routine is not called.
If the Fill Colour is absent, then the fill drawing routine is not
called.
If either Opacity value is zero or absent, then a corresponding default
value is used.
The shape need not be closed.
If the boundary crosses itself, then the interior region is not filled.
It doesn't seem to work in MSIE6, and even GPolylines don't seem to work
in MSIE6 with v2.69. MSIE6 doesn't like the API line
if(h.lat&&h.lng)
where h is one of the GLatLng()s in the input array, so h.lat is a
reference to the GLatLng.lat() method. MSIE complains that
h.lat is null or not an object
I guess it's not an object, it's a method "function(){return this.Ph}.
--
The Blackpool Community Church Javascript Team
http://www.econym.demon.co.uk/googlemaps/