Hey guys, I have an array of geometries and im trying to union them together to do a query.
this is my code: Edit fiddle - JSFiddle line 683 is where the function in question is located.
the error I get is
Uncaught TypeError: Cannot read property 'wkid' of undefined
Any idea what Im doing wrong? is it a spatial reference issue?