I've got the node/map page and node location block maps to display fine in map mode, although regardless of which marker I select, the marker displays against a white background, obscuring the area of the map immediately adjacent. Is this an issue to do with PNG transparency?

Also I cannot display a hybrid map (i.e. showing a satellite image background with an overlay of roads, text, etc.). If I select this option all I see is the map elements that would appear, but against a white background, with no sign of the satellite image as a background.

I read in another post that Google Maps uses its own methods for fixing PNG transparency. Is that in some way conflicting with what Drupal is doing with PNGs? Or may be a theming issue?

I'm using Safari and Firefox, both current versions, on Mac OS X 10.6, with Drupal 6.13.

Comments

tobedeleted’s picture

Update. This does seem to be a theming issue. Switch to Garland and the markers and hybrid maps are displaying fine.

Anonymous’s picture

I'm having the same annoying transparency issue using the 960 robots theme. Don't suppose you found a workaround?

Anonymous’s picture

EUREKA! By chance I figured out what the problem was - it's not theme related, it's just style related. My offending bit of CSS was something like this:

img {background: #FFF;}

The solution was to add this to the end of my style.css:

#content-wrapper .gmap-map img {background-color: transparent;}

rooby’s picture

Status: Active » Closed (cannot reproduce)

I cannot reproduce this.

Also, there is a possible solution in #3.

Due to the age of this I am closing as it is probably no longer an issue.

If it is still an issue with the latest version please reopen.