Background colour can be controlled by using the BackgroundColor (note US spelling) property. See http://code.google.com/apis/maps/documentation/javascript/reference.html#MapOptions. There are also style variables that alter other aspects of the map styling. There are loads of examples in the tutorials.
On Aug 11, 11:26 pm, pehrlich <[email protected]> wrote: > hello! > > I'm working on a visualization project (similar to kayak.com's map > widget), in which has dots appear on a map embedded within a page. > The map takes up most of the page but is of variable/dynamic size. > Ideally it would be a single world view - always showing all the > continents, and fitting the map wrapper zooming to fit. > > Unfortunately there are integer zoom levels, making flexible zoom to > fit impossible. Because of this it would be nice to hide repeated > continents (there should be no asia past alaska on the left side of > the map, or vise versa on the right.) Similarly, who needs > antarctica ;-) > > Is this possible? Can it be done by adding overlays to black out > areas? > > On a side note - is it possible to set the background-color of a map? > That is, when you zoom all the way out, it is gray behind the map > tiles - can that be changed to black? > > Cheers, and thanks for the help!! > --Peter -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
