My approach is to specify an invalid WMS layer.

    var blank = new OpenLayers.Layer.WMS('Blank',
       "/cgi-bin/mapserv", {layers:'blank', format:'image/png'},
       {isBaseLayer:true, displayOutsideMaxExtent:true }
    );
    map.addLayer(blank);
    // now add nothing but overlays

This does generate the pink boxes, but I always suppress those anyway.

OpenLayers.Util.onImageLoadError = function() { };

-- 
Gregor Mosheh / Greg Allensworth, BS, A+
System Administrator
HostGIS cartographic development & hosting services
http://www.HostGIS.com/

"Remember that no one cares if you can back up,
  only if you can restore." - AMANDA
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to