From cf39a5501989668a8d08a6defd989cfe13d4fb5e Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Sun, 27 Feb 2022 20:48:58 +0100 Subject: [PATCH] Increase zoomlevel before error message is triggered --- Logic/FeatureSource/TiledFeatureSource/OsmFeatureSource.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Logic/FeatureSource/TiledFeatureSource/OsmFeatureSource.ts b/Logic/FeatureSource/TiledFeatureSource/OsmFeatureSource.ts index a9bd149b5..5eaa8f84d 100644 --- a/Logic/FeatureSource/TiledFeatureSource/OsmFeatureSource.ts +++ b/Logic/FeatureSource/TiledFeatureSource/OsmFeatureSource.ts @@ -86,7 +86,7 @@ export default class OsmFeatureSource { } private async LoadTile(z, x, y): Promise { - if (z > 20) { + if (z > 25) { throw "This is an absurd high zoom level" }