Export ol.geom.Geometry#intersectsCoordinate

This commit is contained in:
Frederic Junod
2016-08-23 14:36:49 +02:00
parent 9074bd9783
commit 8d1a26dd5b
+1
View File
@@ -133,6 +133,7 @@ ol.geom.Geometry.prototype.getClosestPoint = function(point, opt_closestPoint) {
* coordinate is on the boundary of the geometry, returns false. * coordinate is on the boundary of the geometry, returns false.
* @param {ol.Coordinate} coordinate Coordinate. * @param {ol.Coordinate} coordinate Coordinate.
* @return {boolean} Contains coordinate. * @return {boolean} Contains coordinate.
* @api
*/ */
ol.geom.Geometry.prototype.intersectsCoordinate = function(coordinate) { ol.geom.Geometry.prototype.intersectsCoordinate = function(coordinate) {
return this.containsXY(coordinate[0], coordinate[1]); return this.containsXY(coordinate[0], coordinate[1]);