]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.map.js
Merge pull request #5333 from AntonKhorev/auth-buttons-same-as-preferred
[rails.git] / 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) {