Closed RegalFenster closed 1 year ago
I guess the first obvious question is, what's the yellow stuff? :). Are you sure the WMS tile isn't just providing that from the server ?
I updated the issue
So, I may be being dumb here, but as the whole weather world/layer is full of colour, why would transparent work, there's no transparency there ?
Hi @RegalFenster, I think you might be getting confused. My mistake if I'm misunderstanding you!
backgroundColor
sets the color behind any transparent areas of the map (of which there aren't any on this map). If you're trying to set the opacity of the entire layer, perhaps to overlay it on top of another layer, set the opacity
property instead.
(Not sure if you're trying to do this or not, but to toggle the layer, toggle the TileLayer
itself: don't use 0 opacity)
I was confused indeed. Changing the opacity is what I actually wanted. Thanks a lot!
What is the bug?
Hi, for some reason, I'm unable to set the transparency of the wms tile layer. There is a similar issue: https://github.com/fleaflet/flutter_map/issues/1281 But changing the backgroundColor to transparent didn't resolve the problem.
What is the expected behaviour?
Layer should be transparent
How can we reproduce this issue?
Do you have a potential solution?
No response
Can you provide any other information?
Platforms Affected
Windows
Severity
Minimum: Allows normal functioning
Frequency
Consistently: Always occurs at the same time and location
Requirements
flutter doctor
finds no relevant issues