On Oct 4, 2:33 pm, Akari no ryu <[EMAIL PROTECTED]> wrote:
> In all fairness, though, the documentation is terrible. It tells you
> that you can setFillStyle and setStrokeStyle with an argument of style
> but not what format the argument should take.
> Is style a JSON literal of the form {'color':'#ffffff',
> 'opacity':'0.4'} as I would assume?
you don't need to assume, it says that it is a GPolyStyleOptions
object:
http://code.google.com/apis/maps/documentation/reference.html#GPolyStyleOptions
(I will admit, there should be a link from "style" to that definition
- pamela, looks like another documentation improvement... )

It says "There is no constructor for this class. Instead, this class
is instantiated as a javascript object literal."

  -- Larry



>
> marcelo wrote:
> > On Sep 26, 11:14 am, "[EMAIL PROTECTED]"
> > <[EMAIL PROTECTED]> wrote:
> > > Why is it that the color property of GPolyline and GPolygon is not
> > > documented?
>
> > Yes, it is.
> > See GPolygon.setFillStyle(style) and GPolygon.setStrokeStyle(style) in
> >http://code.google.com/apis/maps/documentation/reference.html#GPolygon
>
> > --
> > Marcelo -http://maps.forum.nu
> > --
--~--~---------~--~----~------------~-------~--~----~
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