Skip to main content

How do I convert a polygon geometry into JSON format?

Comments

3 comments

  • Chris Dunlop
    OK, that was a lot easier than I thought.  I just used geometry1.toJSON. 

     

    This begs the question - where is the best place to go for documentation on what methods/properties /members are available?  Is it the esri javascript API documentation?  Must admit I'm confused by all the different versions/platforms documents and I'm not sure of the best place to look.

     

     
    0
  • Ryan Cooney
    When working with Esri objects, like Geometries and FeatureSets, in a workflow Xaml document you want to use their WPF Runtime documentation http://resources.arcgis.com/en/help/runtime-wpf/apiref/index.html.

     

    If you are developing custom client side activity implementations you would use the JavaScript API https://developers.arcgis.com/javascript/jsapi/.

     

    --Ryan
    0
  • Chris Dunlop
    Thanks Ryan.  That covers the esri side.  What about the Geocortex objects?

     

     
    0

Please sign in to leave a comment.