The rectangle example in your code has 3 parameter: function Rectangle(bounds, opt_weight, opt_color)
So, instead of map.addOverlay(new Rectangle(rectBounds)); try something like this: map.addOverlay(new Rectangle(rectBounds,2,"#ddaa00")); // or any other color code On 17 Nov., 16:48, tdp <[EMAIL PROTECTED]> wrote: > Thanks for the reply. Sorry about that, maybe I wasn't clear. I am > just wanting to change the color of the rectangle. > > On Nov 17, 9:34 am, mapperzUK <[EMAIL PROTECTED]> wrote: > > >http://gmaps-samples.googlecode.com/svn/trunk/backgroundcolor/colorch... > > > Mapperzhttp://mapperz.blogspot.com/ > > > On Nov 17, 3:15 pm, tdp <[EMAIL PROTECTED]> wrote: > > > > Can someone please tell me how to change the background color and > > > opacity of the following? I have tried and tried and can't get it > > > work. I would like the inside of the rectangle to be a lighter color > > > red than the border, > > > > Thanks so much > > > > The link is: > > > >www.digitaltributedesign.com/uploads/test.php > > > > Thanks again. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
