Hi,

due to performance problems I've  set the option {singleTile: true}. Now 
the performance of my WMS (UMN Mapserver) is much better, but zooming 
out to the maximum extent of my map the WMS layer nearly disappears (it 
can just be seen at the right edge of the map) and I can't drag it back 
to the map with the mouse.

I played with maxResolution. But setting it to 'auto' it gets even 
worse:  my WMS layer disappears completely.

Here is my code:

var options = {
        projection: new OpenLayers.Projection("EPSG:900913"),
        units: "m",
        maxResolution: 156543.0339,
        maxExtent: new OpenLayers.Bounds(-20037508.34, -20037508.34,            
 
20037508.34, 20037508.34)
        };
                
map = new OpenLayers.Map("map", options);       
                        
var gphy = new OpenLayers.Layer.Google("Google Physical", 
{"sphericalMercator": true, type: G_PHYSICAL_MAP});
                        

var seis = new OpenLayers.Layer.WMS("Erdbeben weltweit ",
"http://www.seismologie.bgr.de/cgi-bin/mapserv?/wms/map=seis_ger_wms3.map";,
{transparent: 'true', layers: ['q_year','q_month','q_week','aktuell_welt']},
{singleTile: true},{'map':'foo'}, {'buffer':0},
{'isBaseLayer': false, 'gutter': 17},{wrapDateLine: true});



Thanks in advance!

Regards,
Nina
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to