feat: update to svelte 5
This commit is contained in:
parent
2f1e0ba787
commit
b110745ac5
3 changed files with 7 additions and 7 deletions
|
@ -20,7 +20,7 @@
|
|||
lignes.features.forEach((feature) => {
|
||||
const color = 'rgb(' + feature.properties.couleur.replaceAll(' ', ',') + ')';
|
||||
|
||||
// @ts-ignore
|
||||
// @ts-expect-error feature.type is not strict enough, FIXME
|
||||
L.geoJSON(feature, { style: { color } }).addTo(map);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue