openlayers - Background Layer in EPSG:900913 causes WMS overlays to fail -


I am developing a website ontop of using OpenLayers and a background map is needed to put various WMS sources Am

An overlay WMS layer is not being shown while zooming on the map. The problem occurs only when using a background WMS layer in EPSG: 9 00 9 I made a demo page here:

except for two maps, the same background map. Left map EPSG: While using a background map in 4326, is using the correct background map Ipisji: 9 00 9. If you zoom in, you will see that the NEXRAD layer remains visible only on the left map

If two requests are being sent to NEXRAD server for another map, then BBOX is incorrect:

Rekuastl: Bboks = -50,0 9, 557.0848, -9 .000000001863, -179.99999999814,5009287.0848

Rekuast2: Bboks = -17 9.99999999 814, -90.000000001863,5009197.0848, 5009287.0848

These coordinates (supports: 900,913 in EPSG). Africa, not as North America corresponds to expectations

The problem was due to the map But MaxAccent is not set up. The following code works:

  mapWorking900913 = New OpenLayers.Map ("mapWorking900913", {maxExtent: New OpenLayers.Bounds (+ + 20037508, - + 20037508, 20,037,508, 20,037,508)}) ;   

Adiktmaksentent will SRS same as going coordinates background used. If more background maps are needed, then they all should be in the same SRS.

Comments