Difference between Print Task and Export Web Map

584
0
10-08-2013 02:43 PM
KevinGooss
Occasional Contributor
AGS 10.1 REST api has an Export Web Map task that you can send a request to and get a print output.
js api has a Print Task that you can put in your code to make printing easier.

I'm going to assume that the js api Print Task simply calls the REST api ExportWebMap Task. Is that a safe assumption?

If yes, then why is it that the Print Task only seems to support a subset of the things that ExportWebMap does?
Like scalebar options, for instance, in the Print Task docs they tell you to set scalebarUnit
But in the REST Api you get :

"scaleBarOptions":
  {
    "metricUnit": "kilometers" ,
    "metricLabel": "km",
    "nonMetricUnit": "miles" ,
    "nonMetricLabel": "mi"
  }

Why the discrepency? Is it just because the Print Task is not full-featured yet?
If that is the case do i have to craft my own Web_Map_as_JSON string in order to access these 'hidden' properties?
0 Kudos
0 Replies