Add a nature reserve oriented quest layout

This commit is contained in:
Pieter Vander Vennet 2020-07-18 20:40:51 +02:00
parent a7d356c263
commit fe4fa9dd0e
24 changed files with 591 additions and 1307 deletions

View file

@ -104,7 +104,7 @@ export class FilteredLayer {
const notShadowed = [];
for (const feature of leftoverFeatures) {
if (this._maxAllowedOverlap !== undefined && this._maxAllowedOverlap >= 0) {
if (this._maxAllowedOverlap !== undefined && this._maxAllowedOverlap > 0) {
if (GeoOperations.featureIsContainedInAny(feature, selfFeatures, this._maxAllowedOverlap)) {
// This feature is filtered away
continue;