I tried that out and it worked. However, it changes the background
color for all images, including icons. Instead I recommend doing this:
#map {
background-color: #000 !important;
}
This CSS only effects the canvas itself and no children <img> tags.
Thanks for the help.
On Nov 15, 1:47 pm, Arjan <[email protected]> wrote:
> To change the canvas background color. If the <div> that contains your
> map has id "map" then add the following to your CSS:
>
> #map IMG {
> background: red;
>
> }
>
> This will make the canvas background red.
>
> On 15 nov, 20:08, ebakunin <[email protected]> wrote:
>
> > That worked great! Is it also possible to restrict icons and polylines
> > to the same area as well?
>
> > And while I'm asking for everything, is it possible to change the
> > background color of the canvas itself?
>
> > Thanks a lot for the help.
>
> > On Nov 15, 2:59 am, Marcelo <[email protected]> wrote:
>
> > > Everything is possible!http://maps.forum.nu/gm_no_wrap.html
>
> > > --
> > > Marcelo -http://maps.forum.nu
> > > --
>
> > > On Nov 15, 4:50 am, ebakunin <[email protected]> wrote:
>
> > > > I would like to prevent a map from screen wrapping. In other words,
> > > > tiles will not repeat and moving far west or east will display the
> > > > background gray canvas instead of a tile. Is this possible? Thanks.
--
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=.