Friday 15 April 2011

printing - feature layers don't appear in the print result -



printing - feature layers don't appear in the print result -

salam, have problem when print map, when display result find 1 feauture of twenty. result does't contain features. used esri/dijit/printtask

verifier: function(){ //verifier() onclick event of button var url= 'the way/arcgis/rest/services/utilities/printingtools/gpserver/export%20web%20map%20task'; var printtask=new printtask(url); var params = new printparameters(); params.map =this.map; printtask.execute(params,this.printresult); },printresult: function(event) { console.log(event); window.open(event.url, "_blank") }

feature layers don't appears on result of print, there urls aren't links of map service link java servlets connect map service(one servlet each map service). maybe print task desn't create redirection, seach servicemap url in definition of feature layer , it's link of servlet. hope clear... please can help me! because have nooooooo thought of need do. ps: sorry english language because i'm more fresh english.

my fist suggestion tack json request going arcgis server print task using fiddler. re-create json fiddler , test print service @ rest end point if still giving error or not printing feature layer issue service. known following:

are using proxy? version of arcgis js api? have tested same application esri sample print service? is service secured?

please allow me know if have farther questions.

printing dojo task arcgis-js-api

No comments:

Post a Comment