From 5df0765d510eb03d094d604a71050d10ab687376 Mon Sep 17 00:00:00 2001 From: Marcus Jaschen Date: Sun, 10 Jan 2021 10:26:38 +0100 Subject: [PATCH] add support for allowed 15 km zone when German localization is active (#357) --- js/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/index.js b/js/index.js index f89dd3d..45a3e5f 100644 --- a/js/index.js +++ b/js/index.js @@ -328,6 +328,10 @@ circlegoRadius = 20000; } + if (lang.startsWith('de')) { + circlegoRadius = 15000; + } + if (circlegoRadius != null) { circlego = new BR.CircleGoArea(routing, nogos, pois); circlego.options.radius = circlegoRadius;