Hi,
I am trying to sort out a satisfactory printing mechanism for slippy maps in
openlayers.
My set up is Ubuntu 10.04 / Tomcat6 / Geoserver2.1.2 / Openlayers / GeoExt
My Baselayers are either TMS WTMS or GeoWebCache.....these cannot be printed
with the mapfish print module ( only wms)
So...I am looking at the "Tile stitching using a server-side program" - script
found here
http://trac.osgeo.org/openlayers/wiki/Printing
Has anyone managed to get working? I am having a problem understand the
Javascript..
My alert below is always empty...I tried putting in the name of the layer, but
this also returns null!
for (layername in map.layers) {
// if the layer isn't visible at this range, or is turned off, skip it
var layer = map.layers[layername];
alert(layer);
if (!layer.getVisibility()) continue;
if (!layer.calculateInRange()) continue;
If anyone has done something similar, please report!
yours,
Rob_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users