I installed my own OSM server to provide card tiles for use in the application. For an application, I use OpenLayers and came up with a strange problem when porting code from slippymap to my application. I mostly use the same code, and for local fragments I set up the URL of my tile server.
The problem is that when I switch to the local level, I see only the pink layer of the map, but the src attribute of the image tag loads the actual fragment. I tried with Firebug to remove the pink layer, but there is no image behind it! Copying the URL from the src attribute of the img tag opens the fragment as an image.
I tried this for Chrome, and the local level works in IE 7,8,9. The problem is only in FF, and I suspect something with OpenLayers, but I don't know what. The Mapnik layer works and displays tiles in all browsers. Using HTML5, by the way.
Any ideas or hints are welcome.
source share