forked from MapComplete/MapComplete
More work on A11y
This commit is contained in:
parent
87aee9e2b7
commit
6da72b80ef
28 changed files with 398 additions and 209 deletions
|
@ -288,4 +288,8 @@ export class BBox {
|
|||
throw "BBOX has NAN"
|
||||
}
|
||||
}
|
||||
|
||||
public overlapsWithFeature(f: Feature) {
|
||||
return GeoOperations.calculateOverlap(this.asGeoJson({}), [f]).length > 0
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue