Cannot JSON encode graphic to use in addFeature call

581
1
08-23-2012 03:35 PM
JohnGarvey
New Contributor
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?
0 Kudos
1 Reply
nicogis
MVP Frequent Contributor
addFeatures requires an array of feature object
0 Kudos