var printParams = new esri.tasks.PrintParameters(); printParams.map = App.map; var template = new esri.tasks.PrintTemplate(); template.format = "pdf"; template.layout = $('#selLayout').val(); template.preserveScale = true; template.layoutOptions = { titleText: $('#inputMapTitle').val(), authorText: $('#inputMapAuthor').val(), scalebarUnit: $('#selScalebarUnit').val() }; printParams.template = template; var deferred = Mod.controller.printTask.execute(printParams);
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.