Changes between Version 3 and Version 4 of Styles/MapillaryDetections
- Timestamp:
- 2022-08-16T16:24:15+02:00 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Styles/MapillaryDetections
v3 v4 33 33 setting::show_detection_value { 34 34 type: boolean; 35 label: tr("Show detection values for detections with no known specific image");35 label: tr("Show detection values (zoom dependent)"); 36 36 default: true; 37 37 } … … 43 43 } 44 44 45 setting::halo_color { 46 type: color; 47 label: tr("Mapillary Object Detections Halo Color"); 48 default: mapillaryPointObjectHaloColor#C80BC7; 49 } 50 51 45 52 node|z20-[setting("show_accuracy_circles")][accuracy > 10]::mapillary_object_layer { 46 53 symbol-shape: circle; … … 50 57 symbol-stroke-color: orange; 51 58 } 59 52 60 node|z20-[setting("show_accuracy_circles")][accuracy <= 10][accuracy > 5]::mapillary_object_layer { 53 61 symbol-shape: circle; … … 57 65 symbol-stroke-color: yellow; 58 66 } 67 59 68 node|z20-[setting("show_accuracy_circles")][accuracy <= 5]::mapillary_object_layer { 60 69 symbol-shape: circle; … … 64 73 symbol-stroke-color: green; 65 74 } 66 node[layer=traffic_sign][value!~/^(object--traffic-(sign|light)--(|direction-|general-upright-|pedestrians-)(front|back|side))$/] { 75 76 node[layer=traffic_sign] { 67 77 imagepath: "package_signs"; 68 78 } 79 69 80 node[layer=point] { 70 81 imagepath: "package_objects"; … … 110 121 } 111 122 112 node|z18-[value][ is_prop_set(noimage)] {123 node|z18-[value][!setting(hide_detections_with_no_known_image)][is_prop_set(noimage)] { 113 124 symbol-shape: square; 114 125 symbol-fill-color: white; … … 116 127 } 117 128 118 node|z20-[value][is_prop_set(noimage)][setting("show_detection_value")], 129 node|z18-[value][setting(hide_detections_with_no_known_image)][is_prop_set(noimage)] { 130 symbol-shape: square; 131 symbol-size: 1; 132 symbol-fill-opacity: 0; 133 } 134 135 node|z20-[value][is_prop_set(noimage)][setting("show_detection_value")][!setting(hide_detections_with_no_known_image)], 119 136 node|z24-[value][setting("show_detection_value")] { 120 137 text: value; … … 127 144 symbol-stroke-opacity: 0.7; 128 145 } 146 147 node|z18-[value][!is_prop_set(noimage, default)]::magenta, 148 node|z18-[value][is_prop_set(noimage, default)][!setting(hide_detections_with_no_known_image)]::magenta { 149 symbol-shape: circle; 150 symbol-fill-color: setting(halo_color); 151 symbol-fill-opacity: 0.25; 152 symbol-size: 28; 153 } 129 154 }}}