According to the API,
ol.extent.containsExtent(extent1, extent2) checks to see whether extent1 is contained by extent2.
With the following variables:
extent1 = [-93, 44, -94, 45];extent2 = [-95, 43, -92, 46];ol.extent.containsExtent(extent1, extent2) returns false, though extent1 is clearly within extent2. What am I doing wrong?
أكثر...
ol.extent.containsExtent(extent1, extent2) checks to see whether extent1 is contained by extent2.
With the following variables:
extent1 = [-93, 44, -94, 45];extent2 = [-95, 43, -92, 46];ol.extent.containsExtent(extent1, extent2) returns false, though extent1 is clearly within extent2. What am I doing wrong?
أكثر...