in src/lib/components/molecules/canvas-map/lib/Feature.js [77:90]
containsCoordinate(coordinate) {
if (!containsCoordinate(this.getExtent(), coordinate)) {
return false
}
for (const geometry of this.geometries) {
// Only the outer ring of the geometry is considered, because we don't care about holes in the shape
if (polygonContains(geometry.getOuterRing(), coordinate)) {
return true
}
}
return false
}