You'll need to use Flex API 2.x in order to send REST requests with the wkt value. See the "Migrating to 2.x" page at: http://help.arcgis.com/en/webapi/flex/help/index.html
wkt is "Well-Known Text" vs. wkid for "Well-Known ID". The ArcGIS REST API added support for wkt at version 10.See: http://sampleserver3.arcgisonline.com/ArcGIS/SDK/REST/geometry.htmlIf you open your service and view the json, what do you see for the spatialReference?.e.g. for: http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/MapServer?f=json&pretty=trueIt's: "spatialReference" : { "wkid" : 4326 }
Are you using ArcGIS API for Flex version 2.x? This version is required for wkt support.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.