Cannot JSON encode graphic to use in addFeature call

Discussion created by ploebus on Aug 23, 2012
Latest reply on Aug 27, 2012 by
This is probably the wrong forum, but....

I have a basic app the lets user draw a graphic on the screen; tack on some attributes; and submit to the server using addfeature.

I am having problems generating the json post object from the graphic. I can convert the graphic to a json object, but the server doesn't accept this format.

Any ideas?