Remove use of ol.extent.getArea and ol.extent.getIntersectionArea

This PR use `ol.extent.intersects` to replace the use of  `ol.extent.getArea` and `ol.extent.getIntersectionArea`