Trying declutter again...

This commit is contained in:
Eric van der Vlist 2022-12-13 12:54:46 +01:00
parent 90fb0e6944
commit fdee3e8fcd
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ export const Gpx: Component<Props> = ({ map, gpxId }) => {
const vectorLayer = new VectorLayer({ const vectorLayer = new VectorLayer({
source: vectorSource, source: vectorSource,
style, style,
declutter: false, declutter: true,
}); });
createEffect(() => map()?.addLayer(vectorLayer)); createEffect(() => map()?.addLayer(vectorLayer));