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", "");
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.