AnsweredAssumed Answered

JS 4.6 - geometryEngine.geodesicLength. Is this bug?

Question asked by tubakumbara on Mar 23, 2018
Latest reply on Mar 23, 2018 by tubakumbara

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");


Error Message: 


Uncaught type error: d.getcacheValue is not a function (geometryengine.js:11);


Am i doing wrong something or is this a bug?.


Thanks inadvance