Merge pull request #2728 from tschaub/exports

Mark `ol.extent.getIntersection` as stable.
This commit is contained in:
Tim Schaub
2014-09-18 07:11:44 -06:00

View File

@@ -608,6 +608,7 @@ ol.extent.getIntersectionArea = function(extent1, extent2) {
* @param {ol.Extent} extent2 Extent 2.
* @param {ol.Extent=} opt_extent Optional extent to populate with intersection.
* @return {ol.Extent} Intersecting extent.
* @api stable
*/
ol.extent.getIntersection = function(extent1, extent2, opt_extent) {
var intersection = goog.isDef(opt_extent) ?