alert("External JS: map layers: "+map.layerIds);
var print = function() { mapPrinter.generatePdf("title", "report", ""); };
<a href="javascript:print();" class="print">Print</a>
path = self.location.href; pos = path.lastIndexOf('/'); path = path.substring(0,pos); mapPrinter = new MapPrinter(map, (path+"/pdf")); mapPrinter.generatePdf("pdfname", "SampleReport", "");
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.