rectLatLng.IntersectsWith method

Oct 15, 2009 at 11:46 PM

I belive this is the code that you want:

if(this.Top < rect.Bottom) return false;

if (this.Bottom > rect.Top) return false;

if (this.Left > rect.Right) return false;

if (this.Right < rect.Left) return false;

return true;

What is currently there does not always work.