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);
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.