mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 09:42:21 +00:00
A colour the canvas cannot read, a keyword its property does not take, or a number given as a string was handed to the canvas, which ignored it and drew the last feature's style. Colours now go through parseColor (which now knows every CSS colour name), keywords are checked against their property's values, and only finite numbers are numbers; anything else is the property's default, as MapLibre coerces it. The style's background is read the same way, so a value it cannot use is black at opacity 1 rather than no background.