Update paint style

Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
pull/1/head
Taylor Smock 2020-05-13 08:50:49 -06:00
rodzic 779c862cea
commit 3813ece2a2
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 625F6A74A3E4311A
1 zmienionych plików z 9 dodań i 6 usunięć

Wyświetl plik

@ -57,17 +57,20 @@ setting::toggle_with_layer {
* Set .mapwithai for all known MapWithAI datasets *
***************************************************/
way[regexp_test(concat("^(", JOSM_pref("mapwithai.mappaint.sources", "microsoft|digitalglobe"), ")$"), tag("source"))][setting("show_new")]:new {
way["source"][regexp_test(concat("^(", JOSM_pref("mapwithai.mappaint.sources", "microsoft/BuildingFootprints|digitalglobe"), ")$"), tag("source"))][setting("show_new")]:new,
way["mapwithai:source"][setting("show_new")] {
set .mapwithai;
set_color: JOSM_pref(concat("mapwithai.mappaint.", tag("source"), "_new"), #FF00FF);
set_color: JOSM_pref(concat("mapwithai.mappaint.", any(tag("source"), tag("mapwithai:source")), "_new"), #FF00FF);
}
way[regexp_test(concat("^(", JOSM_pref("mapwithai.mappaint.sources", "microsoft|digitalglobe"), ")$"), tag("source"))][setting("show_old")]!:new!:modified {
way["source"][regexp_test(concat("^(", JOSM_pref("mapwithai.mappaint.sources", "microsoft/BuildingFootprints|digitalglobe"), ")$"), tag("source"))][setting("show_old")]!:new!:modified,
way["mapwithai:source"][setting("show_old")]!:new!:modified {
set .mapwithai;
set_color: JOSM_pref(concat("mapwithai.mappaint.", tag("source"), "_old"), #FF00FF);
set_color: JOSM_pref(concat("mapwithai.mappaint.", any(tag("source"), tag("mapwithai:source")), "_old"), #FF00FF);
}
way[regexp_test(concat("^(", JOSM_pref("mapwithai.mappaint.sources", "microsoft|digitalglobe"), ")$"), tag("source"))][setting("show_modified")]:modified {
way[regexp_test(concat("^(", JOSM_pref("mapwithai.mappaint.sources", "microsoft/BuildingFootprints|digitalglobe"), ")$"), tag("source"))][setting("show_modified")]:modified,
way["mapwithai:source"][setting("show_modified")]:modified {
set .mapwithai;
set_color: JOSM_pref(concat("mapwithai.mappaint.", tag("source"), "_modified"), #FF00FF);
set_color: JOSM_pref(concat("mapwithai.mappaint.", any(tag("source"), tag("mapwithai:source")), "_modified"), #FF00FF);
}
way.mapwithai {