From 61903bb66dc454d7b64f48ac4ef389e95dc80d33 Mon Sep 17 00:00:00 2001 From: Norbert Renner Date: Thu, 12 Dec 2019 12:23:23 +0100 Subject: [PATCH] Use language-independent URL hash id for quality coding layer (#242) --- js/plugin/RoutingPathQuality.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/plugin/RoutingPathQuality.js b/js/plugin/RoutingPathQuality.js index 93c377b..936f481 100644 --- a/js/plugin/RoutingPathQuality.js +++ b/js/plugin/RoutingPathQuality.js @@ -9,6 +9,7 @@ BR.RoutingPathQuality = L.Control.extend({ var renderer = new L.Hotline.Renderer({ pane: 'routingQualityPane' }); this._routingSegments = L.featureGroup(); + this._routingSegments.id = 'route-quality'; // for URL hash instead of language name layersControl.addOverlay(this._routingSegments, i18next.t('map.layer.route-quality')); this.providers = {