Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/raster/DeckGLRasterLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,12 @@ export class DeckGLRasterLayerRenderer {
});
},
}),
DeckGLLayerOrder.rasterLayer + Math.max(-9, Math.min(9, state.zIndex)),
// Marker tiles are mounted as a raster but belong with the markers: over the shapes,
// just under the native marker layer. They used to sit in the raster band, under
// every polygon, circle and polyline.
state.id === 'mc-marker-tiles'
? DeckGLLayerOrder.marker - 1
: DeckGLLayerOrder.rasterLayer + Math.max(-9, Math.min(9, state.zIndex)),
);
return handle;
}
Expand Down