JSONUtil.encode(map);
var pPrintParameters:PrintParameters = null; var jsonMap:Object = null; var strJsonMap:String = ""; pPrintParameters = new PrintParameters(); pPrintParameters.map = map; jsonMap = pPrintParameters.toJSON().Web_Map_as_JSON; strJsonMap= ObjectUtil.toString(jsonMap);
That's great, Esther. Thanks for your reply!Does the PrintParameters yield JSON that conforms to ESRI's ExportWebMap Specification? http://resources.arcgis.com/en/help/main/10.1/index.html#//0154000004w8000000
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.