Setting a higher z-index for GPX layers
This commit is contained in:
parent
e406590c59
commit
39876031e4
|
@ -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(() => {
|
||||
|
|
Loading…
Reference in New Issue