add support for allowed 15 km zone when German localization is active (#357)
This commit is contained in:
parent
c1648471aa
commit
5df0765d51
1 changed files with 4 additions and 0 deletions
|
|
@ -328,6 +328,10 @@
|
||||||
circlegoRadius = 20000;
|
circlegoRadius = 20000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (lang.startsWith('de')) {
|
||||||
|
circlegoRadius = 15000;
|
||||||
|
}
|
||||||
|
|
||||||
if (circlegoRadius != null) {
|
if (circlegoRadius != null) {
|
||||||
circlego = new BR.CircleGoArea(routing, nogos, pois);
|
circlego = new BR.CircleGoArea(routing, nogos, pois);
|
||||||
circlego.options.radius = circlegoRadius;
|
circlego.options.radius = circlegoRadius;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue