Browse Source

remet les marqueurs

master
vincent 2 months ago
parent
commit
26ddc55ac8
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      assets/controllers/map_controller.js

+ 0
- 2
assets/controllers/map_controller.js View File

@ -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);


Loading…
Cancel
Save