Tag Info

Hot answers tagged

2

We work regularly with tiled layers in our applications and I usually store tiles directly on a dedicated disk which I host as a virtual directory. You can see the tile directory here: http://argeomatica2012.cloudapp.net/SOLIDARIDAD_ortho/ I then add the tiles directly as a XYZ layer to my OpenLayers map like so: layerXYZ = new OpenLayers.Layer.XYZ("XYZ ...


1

In Firefox you could do a rightclick on the blank tile and choose "open image in New tab" to see if it is displayed outside your app. Apart from that you could try this to see if there is an image load error: OpenLayers.Util.onImageLoadError = function() {console.log("error");};  or use the CSS-Class: .olImageLoadError { /* when OL get's a Error 404 ...


1

And as always predictably happens...... About an hour after I post the question, I end up answering it and finding a solution. It turns out, all I needed to add to my constructor was the following map.maxExtent = new OpenLayers.Bounds(0,0,700000,1300000); This was added just after setting the map projection as follows function init() { map = new ...



Only top voted, non community-wiki answers of a minimum length are eligible