jueery

how to run exportwebmap service?

Discussion created by jueery on Aug 31, 2011
Latest reply on Sep 13, 2011 by svinnakota-esristaff
i want to do one demo about exportwebmap service. but i always get the error. the attchment is  the error infomation.

the webmap as josn is blow:

{
"mapOptions" : {
"extent" : {
"xmin":2473180.90049606,
"ymin":679774.629817489,
"xmax":2500969.21844998,
"ymax":708732.161710566,
"spatialReference" : {
"wkid" : 2264
}
},
"scale" : 44898,
"spatialReference" : {
"wkid" : 2264
}
},
"operationalLayers" : [
{
"url" : "http://localhost:6080/arcgis/rest/services/Ex3/MapServer",
"title" : "Homeland security operations",
"opacity" : 0.8,
"visibleLayers" : [
0,
1
],
"showSublayerLegends" : [
0
]
}
],
"baseMap" : {
"title" : "My Basemap",
"baseMapLayers" :  [
{
"url" : "http://localhost:6080/arcgis/rest/services/Ex3/MapServer",
}
]
},
"exportOptions": {
"dpi" : 100,
"outputSize" :  [
500,
500
]
}
}

i have tried servel times , but the result is the same. Does everyone meet this problem.
how do you use the exportwebmap service?
thank you very much.

Attachments

Outcomes