C.getCacheValue is not a function while checking overlap between the two graphics using GeometryEngine.overlaps(graphics1, graphics2); Can somebody help me with this?

2277
0
03-07-2016 10:46 PM
PramodMaharjan
New Contributor

Here is the function that i used to check the overlap:

function checkOverlap(gra){

  gl.graphics.forEach(function(item){

  if(GeometryEngine.overlaps(item, gra))

  return true;

  });

  return false;

  }

0 Kudos
0 Replies