From 8d1a26dd5b3be8670b0448e2ccc3e4e6dd536fe1 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Tue, 23 Aug 2016 14:36:49 +0200 Subject: [PATCH] Export ol.geom.Geometry#intersectsCoordinate --- src/ol/geom/geometry.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ol/geom/geometry.js b/src/ol/geom/geometry.js index 346e9afa5e..256f78144d 100644 --- a/src/ol/geom/geometry.js +++ b/src/ol/geom/geometry.js @@ -133,6 +133,7 @@ ol.geom.Geometry.prototype.getClosestPoint = function(point, opt_closestPoint) { * coordinate is on the boundary of the geometry, returns false. * @param {ol.Coordinate} coordinate Coordinate. * @return {boolean} Contains coordinate. + * @api */ ol.geom.Geometry.prototype.intersectsCoordinate = function(coordinate) { return this.containsXY(coordinate[0], coordinate[1]);