Tag Info

New answers tagged

0

You could try using node-mapserv: This is not mapscript but a Node.js interface to the stock mapserver CGI code that allows more fine grained control over the input and output without sacrificing performance. In your case you can update the example code to write the mapserver output directly to your post processing program standard input, or integrate your ...


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 ...


0

If your problem stil exists you could test with firebug if your features are added to your layer after the wfs-response came back: wfsSuscribers.events.register('featuresadded', wfsSuscribers, function () { console.log("Number of Features:" + wfsSuscribers.features.length); map.zoomToExtent(wfsSuscribers.getDataExtent()); }); ...


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 ...



Top 50 recent answers are included