]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.map.js
Set colors for trace visibility badges using .text-bg-*
[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",
-      code: "G",
-      name: I18n.t("javascripts.map.base.gps")
+      code: "G"
     });
 
     this.on("layeradd", function (event) {