AnsweredAssumed Answered

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

Question asked by pramodmaharjan on Mar 7, 2016

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;

  }

Outcomes