Implement ol/geom/Geometry#containsXY

Fixes issue #8863
ol/source/Vector#getFeaturesAtCoordinate and
implementations of ol/geom/Geometry#containsXY
This commit is contained in:
timkeane
2018-11-09 07:58:04 -05:00
committed by Frederic Junod
parent 5967bc75ba
commit 7274798aa1
5 changed files with 2 additions and 43 deletions

View File

@@ -100,17 +100,6 @@ class MultiLineString extends SimpleGeometry {
return new MultiLineString(this.flatCoordinates.slice(), this.layout, this.ends_.slice());
}
/**
* @inheritDoc
* @override
* @api
*/
containsXY(x, y) {
return this.getLineStrings().some(function(lineString) {
return lineString.containsXY(x, y);
});
}
/**
* @inheritDoc
*/