From 4c9cbe83c33e4c7b961124f1c5618b08ece00df4 Mon Sep 17 00:00:00 2001 From: vincent Date: Tue, 27 Aug 2024 20:14:27 +0200 Subject: [PATCH] =?UTF-8?q?retire=20le=20marker=20centro=C3=AFde?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/controllers/map_controller.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/controllers/map_controller.js b/assets/controllers/map_controller.js index 4d53d9b..59c7238 100644 --- a/assets/controllers/map_controller.js +++ b/assets/controllers/map_controller.js @@ -94,6 +94,7 @@ 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, @@ -101,6 +102,7 @@ export default class extends Controller { }).addTo(layer1).on('click', function (event) { window.location.href = event.target.options.clickUrl; }); + */ }); layer1.addTo(layer);