Hi everyone.

This is my OpenLayers code for show google maps with mapguide maps.
But when I zoom in  mapguide map visible in white background for   
useOverlay: false
and  pink background for     useOverlay: true

var url =
"http://localhost:8008/geoweb/mapagent/mapagent.fcgi?USERNAME=Anonymous";;

    var params = {
      mapdefinition: 'Library://Maps/Map.MapDefinition',
      mapName: '<?php echo $mapName;?>',
      transparent: 'true',
      format: 'png',
      behavior: 7
    };
    
    var options = {
        isBaseLayer: false,
        transitionEffect: "resize",
        buffer: 1,
        useOverlay: false,
        useAsyncOverlay: false,
        singleTile: true,
        visibility : true,
        transparent: true,
        maxResolution: 'auto',
        numZoomLevels: 20,
        sphericalMercator: true,
        displayOutsideMaxExtent: true
    };

var google_sat = new OpenLayers.Layer.Google(
        'Google Satellite',
        {type: google.maps.MapTypeId.SATELLITE}
    );

    var layer = new OpenLayers.Layer.MapGuide( "MapGuide OS tiled layer",
url, params, options );

    map.addLayers([google_sat,layer]);


I want show transparent mapguide layers  with google maps the background.
Please help me.




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/OpenLayers-MapGuide-GoogleMap-together-tp5058418.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to