kopia lustrzana https://github.com/JOSM/MapWithAI
Update in-tree copy of mapcss file
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>pull/1/head
rodzic
5f634aac7c
commit
21341972f1
|
@ -15,6 +15,10 @@ meta
|
|||
settings::show_all {
|
||||
label: tr("Show possible MapWithAI objects");
|
||||
}
|
||||
settings::colors {
|
||||
label: tr("Source Colors");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
setting::show_new {
|
||||
|
@ -57,28 +61,28 @@ setting::toggle_with_layer {
|
|||
* Set .mapwithai for all known MapWithAI datasets *
|
||||
***************************************************/
|
||||
|
||||
way["source"][regexp_test(concat("^(", JOSM_pref("mapwithai.mappaint.sources", "microsoft/BuildingFootprints|digitalglobe"), ")$"), tag("source"))][setting("show_new")]:new,
|
||||
way["source"][regexp_test(concat("^(", JOSM_pref("mapwithai.mappaint.sources", "microsoft/.*|digitalglobe|maxar|esri/.*"), ")$"), tag("source"))][setting("show_new")]:new,
|
||||
way["mapwithai:source"][setting("show_new")] {
|
||||
set .mapwithai;
|
||||
set_color: JOSM_pref(concat("mapwithai.mappaint.", any(tag("source"), tag("mapwithai:source")), "_new"), #FF00FF);
|
||||
}
|
||||
way["source"][regexp_test(concat("^(", JOSM_pref("mapwithai.mappaint.sources", "microsoft/BuildingFootprints|digitalglobe"), ")$"), tag("source"))][setting("show_old")]!:new!:modified,
|
||||
way["source"][regexp_test(concat("^(", JOSM_pref("mapwithai.mappaint.sources", "microsoft/.*|digitalglobe|maxar|esri/.*"), ")$"), tag("source"))][setting("show_old")]!:new!:modified,
|
||||
way["mapwithai:source"][setting("show_old")]!:new!:modified {
|
||||
set .mapwithai;
|
||||
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/BuildingFootprints|digitalglobe"), ")$"), tag("source"))][setting("show_modified")]:modified,
|
||||
way[regexp_test(concat("^(", JOSM_pref("mapwithai.mappaint.sources", "microsoft/.*|digitalglobe|maxar|esri/.*"), ")$"), tag("source"))][setting("show_modified")]:modified,
|
||||
way["mapwithai:source"][setting("show_modified")]:modified {
|
||||
set .mapwithai;
|
||||
set_color: JOSM_pref(concat("mapwithai.mappaint.", any(tag("source"), tag("mapwithai:source")), "_modified"), #FF00FF);
|
||||
}
|
||||
|
||||
way.mapwithai {
|
||||
color: prop("set_color");
|
||||
color: any(prop("set_color_programatic"), prop("set_color"));
|
||||
}
|
||||
|
||||
way.mapwithai:closed2 {
|
||||
fill-color: prop("set_color");
|
||||
fill-color: any(prop("set_color_programatic"), prop("set_color"));
|
||||
}
|
||||
|
||||
way.mapwithai[setting("decemberHolidayStyle")] {
|
||||
|
|
Ładowanie…
Reference in New Issue