mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-29 17:34:58 +03:00
loading popdat broke... handle small number of classes for colorbrewer
too
This commit is contained in:
parent
8eb03b81c3
commit
903d3391db
4
docs/design/notes/qgis.md
Normal file
4
docs/design/notes/qgis.md
Normal file
@ -0,0 +1,4 @@
|
||||
How to get https://www.arcgis.com/home/item.html?id=777604c09cd24b4eb72952229d6d4caf into qgis?
|
||||
|
||||
- map viewer -> content on sidebar -> description -> look for WMTSCapabilities.xml in source
|
||||
- qgis, add layer from wmts
|
@ -302,6 +302,9 @@ pub fn rotating_color_total(idx: usize, total: usize) -> Color {
|
||||
if total > 9 {
|
||||
return rotating_color_total(idx, 9);
|
||||
}
|
||||
if total < 3 {
|
||||
return rotating_color_total(idx, 3);
|
||||
}
|
||||
|
||||
// TODO Cache this
|
||||
// TODO This palette doesn't contrast well with other stuff
|
||||
|
Loading…
Reference in New Issue
Block a user