[Commits] r2472 - core/trunk/geoext/examples
commits at geoext.org
commits at geoext.org
Tue Nov 2 09:59:35 CET 2010
Author: ahocevar
Date: 2010-11-02 09:59:34 +0100 (Tue, 02 Nov 2010)
New Revision: 2472
Modified:
core/trunk/geoext/examples/print-page.js
Log:
moved customParams from printPage to printProvider config to match new server configuration.
Modified: core/trunk/geoext/examples/print-page.js
===================================================================
--- core/trunk/geoext/examples/print-page.js 2010-10-27 12:24:14 UTC (rev 2471)
+++ core/trunk/geoext/examples/print-page.js 2010-11-02 08:59:34 UTC (rev 2472)
@@ -18,17 +18,17 @@
// The printProvider that connects us to the print service
var printProvider = new GeoExt.data.PrintProvider({
method: "GET", // "POST" recommended for production use
- capabilities: printCapabilities // from the info.json script in the html
- });
- // Our print page. Tells the PrintProvider about the scale and center of
- // our page.
- printPage = new GeoExt.data.PrintPage({
- printProvider: printProvider,
+ capabilities: printCapabilities, // from the info.json script in the html
customParams: {
mapTitle: "Printing Demo",
comment: "This is a simple map printed from GeoExt."
}
});
+ // Our print page. Tells the PrintProvider about the scale and center of
+ // our page.
+ printPage = new GeoExt.data.PrintPage({
+ printProvider: printProvider
+ });
// The map we want to print
mapPanel = new GeoExt.MapPanel({
More information about the Commits
mailing list