add support for allowed 15 km zone when German localization is active (#357)

This commit is contained in:
Marcus Jaschen 2021-01-10 10:26:38 +01:00 committed by GitHub
parent c1648471aa
commit 5df0765d51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;