UX feedback: for the contour layer, less opacity and less bold contour lines

This commit is contained in:
Dustin Carlino 2021-08-20 09:39:05 -07:00
parent f3a216e935
commit cbc5820d4f

View File

@ -294,10 +294,10 @@ pub fn make_elevation_contours(
for p in polygons {
if let Ok(p) = Polygon::from_geojson(&p) {
let poly = p.scale(resolution_m);
if let Ok(x) = poly.to_outline(Distance::meters(10.0)) {
batch.push(Color::BLACK, x);
if let Ok(x) = poly.to_outline(Distance::meters(5.0)) {
batch.push(Color::BLACK.alpha(0.5), x);
}
batch.push(color.alpha(0.2), poly);
batch.push(color.alpha(0.1), poly);
}
}
}