Hello. I'm working on a create measuring geaodesic area and length.
I have no any problem with calculate geodesicarea. But im getting below error message when i send a lineGraphic and unittype to geodesiclength.
Notice: myLineGraphic has no problem because i can see line graphic on map
var myLength = geometryEngine.geodesicLength(myLinegraphic, "kilometers");
Uncaught type error: d.getcacheValue is not a function (geometryengine.js:11);
Am i doing wrong something or is this a bug?.
Thanks for sample.
Can you add a sample for length (kilometers) for linegraphic please?
i'm drawing line graphic by mouse.
Is my code wrong? I just send a linegraphic and "kilometers" parameters.