I have a layer which I need that the polygon areas which are computed automatically, will be correct.
So I use a 2D feaure layer whose spatial reference WKID is 2039 (Israel TM Grid).
But I have a problem - I need to create a buffer, and I am using this code:
var buffers = geometryEngine.geodesicBuffer(
geometries, // geometries
[bufferDistance], // distance
"meters", // unit
true // unionResults into SINGLE polygon
but it fails, with a weird error mesage: "not implemented yet".
What I assume, is that somehow I don't know how to create a buffer from geometries in a layer,
whose spatial reference wkid is NOT 102100 (that is 3857 WGS 1984 Web Mercator),
but is wkid:2039 (Israel TM Grid).
But I need use wkid:2039 as the layer spatial reference in order that the automatically computed polygon areas will be correct.
Help will be greatly appreciated!
Solved! Go to Solution.