How to disable lighting effects for wms raster layer?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I'm experimenting with the new standard layer beta and I really like it. Except I've added a raster layer to my map and it is being affected by the lighting effect.
In all of these images, my raster layer is generating YELLOW dots (`FFFF00`), however using the new standard style they show up on the map in colors ranging from ALMOST WHITE to ALMOST BLACK.
How can I make them show up the unaltered YELLOW from the raw raster image no matter the lighting conditions?
My use case: I want to use the lighting conditions to control the theme of the basemap (e.g. easily switch from light/dark), but I want to control the colors of the data I add to the map. Does not seem possible with the dusk or night presets. Is there something I can override for my raster layer?
### lightPreset day

### lightPreset dusk

### lightPreset night

### lightPreset dawn

### using dark-v11 style

### Raw Raster Tile

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the raster layer with the standard style and compare the day, dusk, night, and dawn lightPreset values against the dark-v11 style and raw raster tile shown in the issue. Trace the documented raster-layer and lighting configuration to determine whether an override exists; done means establishing a supported way to preserve the raster colors or documenting that it is unavailable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- computer-graphics, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100