diff --git a/assets/controllers/map_controller.js b/assets/controllers/map_controller.js index 59c7238..4d53d9b 100644 --- a/assets/controllers/map_controller.js +++ b/assets/controllers/map_controller.js @@ -94,7 +94,6 @@ export default class extends Controller { window.location.href = event.layer.feature.properties.url; }); - /* L.marker(polygon.getBounds().getCenter(), { icon: icons[feature0.color], title: feature0.name, @@ -102,7 +101,6 @@ export default class extends Controller { }).addTo(layer1).on('click', function (event) { window.location.href = event.target.options.clickUrl; }); - */ }); layer1.addTo(layer);