Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am using print task in my code and using dynamic map service layer and graphics layer (not using feature service layer) and I am able to print the map but it’s not displaying info window and graphics in the print out.

So any help will be great!!

Complete code on JSFiddle (I removed my server name)

What I am trying:

  1. I am going though this example in which I found that they are using graphics layer + feature layer and graphics is coming while printing the map

  2. Replaced with ESRI sample REST service for the print task still not getting the graphics and info-window

  3. Researching on my side

screenshot 1 : with graphics and info window

screenshot 2: after performing print task

Software’s: ArcGIS for Server and Desktop version 10.1 and JSAPI version 3.2/3.3

share|improve this question
    
have you properly set up the proxy page? –  Craig Apr 24 '13 at 12:14
    
@Craig thanks for reply..let me check –  Sunil Apr 24 '13 at 12:44
add comment

1 Answer 1

up vote 2 down vote accepted

You're running into a bug in the printTask. Check this esri forum post http://forums.arcgis.com/threads/61448-Problen-with-the-Print-Task?p=254619#post254619

For labeling, I worked around this by adding another separate graphic layer: 1. You can get esri.symbol.TextSymbol to show up by creating another graphic layer and adding it to that layer 2. FYI, the offset and alignment are ignored on the TextSymbol

I don't know if that will help with infowindows/popups...

Also, more here http://forums.arcgis.com/threads/75263-Print-TextSymbol?highlight=print+graphic

share|improve this answer
    
thanks for your reply and detailed information. I will check and let you know soon. thanks : ) –  Sunil Apr 25 '13 at 2:49
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.