]> git.openstreetmap.org Git - rails.git/commitdiff
Remove unused reference to missing gps layer name
authorAnton Khorev <tony29@yandex.ru>
Sat, 31 Aug 2024 22:17:12 +0000 (01:17 +0300)
committerAnton Khorev <tony29@yandex.ru>
Sat, 31 Aug 2024 22:17:12 +0000 (01:17 +0300)
app/assets/javascripts/leaflet.map.js

index d221ae208eba4880a707d8c82d9c9763961b9bd7..a907de29581c548d004038f6b61cb2520aaebf93 100644 (file)
@@ -124,8 +124,7 @@ L.OSM.Map = L.Map.extend({
 
     this.gpsLayer = new L.OSM.GPS({
       pane: "overlayPane",
 
     this.gpsLayer = new L.OSM.GPS({
       pane: "overlayPane",
-      code: "G",
-      name: I18n.t("javascripts.map.base.gps")
+      code: "G"
     });
 
     this.on("layeradd", function (event) {
     });
 
     this.on("layeradd", function (event) {