AnsweredAssumed Answered

Uncaught TypeError: Converting circular structure to JSON for printing

Question asked by sky12james on May 12, 2015
Latest reply on May 14, 2015 by rscheitlin

I want to print a map after buffer is completed and show all the highlighted parcels using print widget but I got error message:

Uncaught TypeError: Converting circular structure to JSON

The main code for buffer from here:https://community.esri.com/thread/121140?q=buffer%20results#463851

and use print widget from sample here: https://developers.arcgis.com/javascript/jssamples/widget_print_esri_request.html

 

Besides that, I also found this thread if you have graphics:

https://community.esri.com/thread/69239
with this solution  
var graphic = new esri.Graphic(result.feature.toJson());

But how do you apply it with FeatureLayer or geometry?

Please share you options.

 

Thank you.

 

 

Outcomes