Groups
Groups
Sign in
Groups
Groups
[deprecated] Google Maps JavaScript API v3. Please use the latest post.
Conversations
About
Send feedback
Help
Set/change polygon fillColor on click?
2,943 views
Skip to first unread message
Knasboll
unread,
Jan 18, 2011, 3:51:47 AM
1/18/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Maps JavaScript API v3
Is that possible, and if so, how do i do it?
Pil
unread,
Jan 18, 2011, 6:49:02 AM
1/18/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Maps JavaScript API v3
Try to look at the reference.
http://code.google.com/apis/maps/documentation/javascript/reference.html
Polygon has a method setOptions. So you'd have to use something like
that
poly.setOptions( { fillColor: '#0000ff' });
Reply all
Reply to author
Forward
0 new messages