Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[arcgis-js-api.d.ts] mode property of PrintTask is readonly

See original GitHub issue

I’m trying to set the mode property of the PrintTask interface to async but it’s marked as readonly.

I’m using version 4.6.0 of package @types/arcgis-js-api.

Any workaround ?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

dasacommented, Mar 22, 2018

Thanks, I’m able to see the problem now. You can workaround it by changing “ExportWebMap_Portail_Adherent” to not start with “Export” since the code is truncating the URL at the first occurrence of “Export”.

alelapeyrecommented, Apr 24, 2018

That’s works fine! Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PrintTask | API Reference | ArcGIS API for JavaScript 3.42
The PrintTask class generates a printer-ready version of the map using an Export Web Map Task available with ArGIS Server 10.1 and later....
Read more >
TSDoc: @readonly
This modifier tag indicates that an API item should be documented as being read-only, even if the TypeScript type system may indicate otherwise....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found