[Users] Print panel overview not transforming from EPSG:900913 to EPSG:4326
Robert Buckley
robertdbuckley at yahoo.com
Wed Oct 6 11:30:06 CEST 2010
Thanks,
I just realized this about 15 minutes ago.
Here is my new code. I just copied the options from the mappanel to the printing
function.
tbar: [{
text: "Drucken...",
icon: '../images/printer.png',
handler: function(){
printDialog = new Ext.Window({
title: "Druckansicht",
layout: "fit",
autoWidth: true,
autoHeight: true,
items: [{
xtype: "gx_printmappanel",
map: {projection: epsg900913,
displayProjection: epsg4326,
units: "m",
numZoomLevels: 21,
maxResolution: 156543.0339,
maxExtent: new OpenLayers.Bounds(912352.369449, 6720955.021855,
1391765.410767, 7014473.210418)},
sourceMap: mapPanel,
printProvider: printProvider
}],
bbar: [{
text: "PDF Erstellen...",
handler: function(){ printDialog.items.get(0).print(); }
}]
});
printDialog.show();
}
}
Thanks again for your help.
Yours,
Robert Buckley
www.zgb.de
More information about the Users
mailing list