Trying declutter again...
This commit is contained in:
parent
90fb0e6944
commit
fdee3e8fcd
|
@ -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));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue