forked from MapComplete/MapComplete
Refactoring: fix download buttons
This commit is contained in:
parent
8a1f0599d9
commit
ef0ec5160d
10 changed files with 142 additions and 134 deletions
|
|
@ -23,7 +23,7 @@ export default class GeoIndexedStore implements FeatureSource {
|
|||
* @param bbox
|
||||
* @constructor
|
||||
*/
|
||||
public GetFeaturesWithin(bbox: BBox): Feature[] {
|
||||
public GetFeaturesWithin(bbox: BBox, strict: boolean = false): Feature[] {
|
||||
// TODO optimize
|
||||
const bboxFeature = bbox.asGeojsonCached()
|
||||
return this.features.data.filter((f) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue