[fusion-trac] #277: Map Background is Transparent (load image shows through background)

Fusion trac_fusion at osgeo.org
Tue Aug 11 18:09:15 EDT 2009


#277: Map Background is Transparent (load image shows through background)
---------------------------------+------------------------------------------
   Reporter:  greenmapsanmiguel  |       Owner:  madair
       Type:  defect             |      Status:  new   
   Priority:  P2                 |   Milestone:  Future
  Component:  MapGuide           |     Version:  1.1.1 
   Severity:  Major              |    Keywords:        
External_id:                     |       State:  New   
    Browser:  All                |          Os:  All   
---------------------------------+------------------------------------------
 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;
 }

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/277>
Fusion <http://trac.osgeo.org/fusion>
Fusion is a web-mapping application development framework for MapServer and MapGuide OS.


More information about the fusion-trac mailing list