Setting a higher z-index for GPX layers

This commit is contained in:
Eric van der Vlist 2023-03-16 21:41:29 +01:00
parent e406590c59
commit 39876031e4
1 changed files with 2 additions and 0 deletions

View File

@ -43,11 +43,13 @@ export const Gpx: Component<Props> = ({ map, gpxId }) => {
source: vectorSources[0],
style,
declutter: true,
zIndex: 1,
}),
new VectorLayer({
source: vectorSources[1],
style,
declutter: false,
zIndex: 2,
}),
];
createEffect(() => {