[OpenLayers-Users] Printing in Chrome
Sergeant_york
electronicpanda at gmail.com
Tue Jan 8 12:17:11 PST 2013
You might change .width and .height values just before print with pixels then
return it to normals after print function executed.
for example in jquery this one should work
in print function:
$('map').width(getDocumentWidthFunction());
$('map').height(getDocumentHeightFunction());
pop document to new window and execute print function then
$('map').width('100%');
$('map').height('100%');
or something like that, therefore it will become pixel values just before
printing then come back to percentage after printing
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Printing-in-Chrome-tp5026205p5026259.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list