I am developing a website using OpenLayers and need to put various WMS sources ontop of a background map.
I have a problem with an overlay WMS layer not being shown when zooming in on the map. The problem seem to only occur when using a background WMS Layer in EPSG:900913. I have created a demonstration page available here:
http://andarki.dk/Stackoverflow/OpenLayers/WMS.html
Both maps are identical, except for the background map. The left map is using a Background map in EPSG:4326, while the right background map is using EPSG:900913. If you zoom in, you will notice that the Nexrad layer only stays visible at the left map.
If you look at the two requests being sent to the Nexrad server for the second map, the BBOX is wrong:
Request1: BBOX=-5009557.0848,-90.000000001863,-179.99999999814,5009287.0848
Request2: BBOX=-179.99999999814,-90.000000001863,5009197.0848,5009287.0848
These coordinates (in EPSG:900913) corresponds to Africa, not North America as expected.