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