[mapguide-users] OpenLayers , MapGuide , GoogleMap together

ElbrusNT elbrusnt at gmail.com
Thu Jun 6 05:48:29 PDT 2013

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 =

    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 );


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.

More information about the mapguide-users mailing list