Select to view content in your preferred language

JS 4.17 - sketch.on() Default wkid is 3857 but want default wkid = 4326

309
0
11-24-2020 11:55 AM
GauravGoyal
New Contributor

I have created the sample application using JS 4.17 APi version for creating circle and polygon on map using SKetchview.

(https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=sketch-geometr...
)

sketch.on("create", function (event) {

// here i am getting event.graphics[0].geometry.rings[0] is in WKID - 3857 but i need it in 4326.

});

 

Please see the URL :- https://jsbin.com/sobudocupe/edit?html,output

 

0 Kudos
0 Replies