Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heatmap under layer #5366

Open
sbjartmar opened this issue Jan 16, 2025 · 1 comment
Open

Heatmap under layer #5366

sbjartmar opened this issue Jan 16, 2025 · 1 comment
Labels
need more info Further information is requested

Comments

@sbjartmar
Copy link

sbjartmar commented Jan 16, 2025

When I add a heatmap layer and specify that it should be placed underneath a Land layer, it weirdly merges with the land layer and still appears on top of it. Anyone here who knows what could be wrong?

Version: maplibre-gl-5.0.0

map.addSource(sourceId, {
    type: "geojson",
    data: data
 });

map.addLayer({
    id: layer.id,
    type: "heatmap",
    source: sourceId,
    paint: layer.paint || {},
 }, 'Land');

Image

@HarelM
Copy link
Collaborator

HarelM commented Jan 16, 2025

Can you post a full reproduction of the issue?
Also, can you check if this used to work in previous versions?

@HarelM HarelM added the need more info Further information is requested label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need more info Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants