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);
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.