[Commits] r1644 - sandbox/cmoullet/ux/Printer/ux/layout
commits at geoext.org
commits at geoext.org
Fri Jan 1 18:40:40 CET 2010
Author: cmoullet
Date: 2010-01-01 18:40:40 +0100 (Fri, 01 Jan 2010)
New Revision: 1644
Modified:
sandbox/cmoullet/ux/Printer/ux/layout/LayoutPrinter.js
Log:
Layer must be cloned !
Modified: sandbox/cmoullet/ux/Printer/ux/layout/LayoutPrinter.js
===================================================================
--- sandbox/cmoullet/ux/Printer/ux/layout/LayoutPrinter.js 2010-01-01 17:38:46 UTC (rev 1643)
+++ sandbox/cmoullet/ux/Printer/ux/layout/LayoutPrinter.js 2010-01-01 17:40:40 UTC (rev 1644)
@@ -68,7 +68,7 @@
vectorLayer.addFeatures(clonedFeatures);
childWindow.map.addLayer(vectorLayer);
} else {
- childWindow.map.addLayer(layer);
+ childWindow.map.addLayer(layer.clone());
}
}
More information about the Commits
mailing list