From a638220ff7a44bb54845535cb833d983e2eeac56 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Sun, 1 Sep 2024 01:17:12 +0300 Subject: [PATCH] Remove unused reference to missing gps layer name --- app/assets/javascripts/leaflet.map.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/assets/javascripts/leaflet.map.js b/app/assets/javascripts/leaflet.map.js index d221ae208..a907de295 100644 --- a/app/assets/javascripts/leaflet.map.js +++ b/app/assets/javascripts/leaflet.map.js @@ -124,8 +124,7 @@ L.OSM.Map = L.Map.extend({ this.gpsLayer = new L.OSM.GPS({ pane: "overlayPane", - code: "G", - name: I18n.t("javascripts.map.base.gps") + code: "G" }); this.on("layeradd", function (event) { -- 2.39.5