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],
|
source: vectorSources[0],
|
||||||
style,
|
style,
|
||||||
declutter: true,
|
declutter: true,
|
||||||
|
zIndex: 1,
|
||||||
}),
|
}),
|
||||||
new VectorLayer({
|
new VectorLayer({
|
||||||
source: vectorSources[1],
|
source: vectorSources[1],
|
||||||
style,
|
style,
|
||||||
declutter: false,
|
declutter: false,
|
||||||
|
zIndex: 2,
|
||||||
}),
|
}),
|
||||||
];
|
];
|
||||||
createEffect(() => {
|
createEffect(() => {
|
||||||
|
|
Loading…
Reference in New Issue