Thanks!
That's right, the code must be for example so, then is no error:
   }
                if(fill != "")
                {
                circleLine = new GPolygon(circlePoints,color,line,
0.3,fill,0.3);
        }
        else
        {
        circleLine = new GPolygon(circlePoints,color,line,0.30);
        }

                map.addOverlay(circleLine);
    }
    }

But how can I change the code to show only the fill-area and not the
lines?
I think it's difficult...


On 23 Aug., 12:09, Esa <[email protected]> wrote:
> I am sure this throws an error
>
>     circleLine = new GPolygon(circlePoints,color="#FF0000",line="1",
> 0.5,0.5);
>
> You should recheck your GPolygon constructor. It should look like:
>
>     circleLine = new GPolygon(circlePoints,"#FF0000",1,0.5,"#FF0000",
> 0.5);
>
> There is a minor typo in official documentation
> "fillColor?:Number" should be 
> "fillColor?:String"http://code.google.com/apis/maps/documentation/reference.html#GPolygon
>
> See this insteadhttp://econym.org.uk/gmap/reference.htm#GPolygon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to