Opened 15 years ago

#277 new defect

Map Background is Transparent (load image shows through background)

Reported by: greenmapsanmiguel Owned by: madair
Priority: P2 Milestone: Future
Component: MapGuide Version: 1.1.1
Severity: Major Keywords:
Cc: Browser: All
External ID: Operating System: All
state: New

Description

The background-image displayed during loading shows through the map background after the map loads. (This did not occur with Fusion 2.0 version in the Mapguide 2.1 Beta.) The background color defined for the map includes 'FF' in the alpha-channel but it is behaving as if it is transparent.

Here is the color from my MapDefinition XML:

<BackgroundColor>ffffffe5</BackgroundColor>

Here is the css for the image that is showing through the background:

#Map {

background-image: url("/images/map/mapLoading.png"); background-repeat:no-repeat; background-position: center; overflow: hidden; z-index: 0; background-color: #E8F39B; border: 1px solid #404040;

}

I am able to work around this problem by adding a background-color for olMapViewport:

div.olMapViewport {

text-align: left; /* added background-color */

background-color:#ffffe5;

}

Change History (0)

Note: See TracTickets for help on using tickets.