JavaScript 实现地图打印
var obj = document.getElementById("EsriMapCell_Map0");
var pwin = window.open('','PrintMap','height=800,width=1024');
pwin.document.writeln(obj.innerHTML);
pwin.document.close();
pwin.print();
var pwin = window.open('','PrintMap','height=800,width=1024');
pwin.document.writeln(obj.innerHTML);
pwin.document.close();
pwin.print();
一起学习GIS及其二次开发,一起进步!