]> git.openstreetmap.org Git - rails.git/commitdiff
Remove invalid setStyle from data layer
authorAnton Khorev <tony29@yandex.ru>
Sat, 5 Apr 2025 15:20:41 +0000 (18:20 +0300)
committerAnton Khorev <tony29@yandex.ru>
Sat, 5 Apr 2025 15:20:41 +0000 (18:20 +0300)
app/assets/javascripts/index/layers/data.js

index 6452c2a4163d2938a349e44e2b781c7b282e03c4..22e1a4e6849743510167a15330d372ebeef61a54 100644 (file)
@@ -2,21 +2,6 @@ OSM.initializeDataLayer = function (map) {
   let dataLoader, loadedBounds;
   const dataLayer = map.dataLayer;
 
-  dataLayer.setStyle({
-    way: {
-      weight: 3,
-      color: "#000000",
-      opacity: 0.4
-    },
-    area: {
-      weight: 3,
-      color: "#ff0000"
-    },
-    node: {
-      color: "#00ff00"
-    }
-  });
-
   dataLayer.isWayArea = function () {
     return false;
   };