Select to view content in your preferred language

PrintTask dropping TextSymbol on Export

777
2
Jump to solution
06-12-2014 03:28 PM
KyleMorgan
Deactivated User
Hey everyone,

When trying to print a map with custom graphics to a "Export Web Map Task", the TextSymbol drops from the print-out.  After perusing the forums, I've tried the following fixes:


  1. Specifying the font size as an integer

  2. Export as PDF vs PNG

  3. Using an EsriTS JSONObject for the Text Symbol

  4. Using a separate layer for the text symbol graphics

  5. Tried ArcGIS Server 10.1 SP1, 10.2.2 and Esri's Sample ArcGIS Server 10.2.1

I've packed everything up into a JSFiddle for anyone to check out if they think they know a fix.

http://jsfiddle.net/disuse/svnLy/3/

Thank you in advance!
0 Kudos
1 Solution

Accepted Solutions
MuditAgarwal
Occasional Contributor
Hi Kyle

Please test the link. same is printing the map with text symbol perfectly. You need to add text symbol in text graphic layer and add item.id as string instead of integer.

Thanks
Mudit

View solution in original post

0 Kudos
2 Replies
MuditAgarwal
Occasional Contributor
Hi Kyle

Please test the link. same is printing the map with text symbol perfectly. You need to add text symbol in text graphic layer and add item.id as string instead of integer.

Thanks
Mudit
0 Kudos
KyleMorgan
Deactivated User
Hi Mudit,

Thanks for the help! 

Weird.. I had tried this exact fix to no avail but your example is working so I'll chalk it up to user error on my end. 

Any recommendations on how to address the overlap of text and labels for when data is tight, it doesn't look like a jumbled mess?
0 Kudos