Implement ol/geom/Geometry#containsXY
Fixes issue #8863 ol/source/Vector#getFeaturesAtCoordinate and implementations of ol/geom/Geometry#containsXY
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user