Move ol.geom.flatLinearRingContains to ol.geom.flat

This commit is contained in:
Tom Payne
2013-11-12 12:40:06 +01:00
parent ca639a057f
commit 857c28a88b
4 changed files with 90 additions and 90 deletions

View File

@@ -31,7 +31,7 @@ goog.inherits(ol.geom.Polygon, ol.geom.Geometry);
* @inheritDoc
*/
ol.geom.Polygon.prototype.containsXY = function(x, y) {
return ol.geom.flatLinearRingsContainsXY(
return ol.geom.flat.linearRingsContainsXY(
this.flatCoordinates, 0, this.ends_, this.stride, x, y);
};