AnsweredAssumed Answered

Display SQL Geography in ESRI JS

Question asked by koder303 on Nov 28, 2016
Latest reply on Dec 4, 2016 by koder303

Hello,

 

How do I display SQL Geography in ESRI JS?

 

My API returns a geography I inserted into SQL from a tutorial I found.

"Shape": { "Geography": { "CoordinateSystemId": 4326, "WellKnownText": "POLYGON ((-122.358 47.653, -122.348 47.649, -122.348 47.658, -122.358 47.658, -122.358 47.653))", "WellKnownBinary": null } }
I can write a parser for this and get it to show but it seems like it's a lot of work. I was wondering if anyone has done this before and has any tips?
Thanks,

Outcomes