adjusting map of 23rd ave for first real demo. making unzoomed colors

match between sim and psrc trip viz
This commit is contained in:
Dustin Carlino 2019-06-05 10:36:40 -07:00
parent c8846b9e74
commit e87581a86e
4 changed files with 14 additions and 14 deletions

View File

@ -1,9 +1,9 @@
23rd 23rd
1 1
-122.33955839886022 47.6650960061724 -122.30964296873428 47.5977517049213
-122.26351332043961 47.66461116083562 -122.29152725418099 47.597290174872846
-122.2818960605346 47.60821587211569 -122.29537891155186 47.652213533970354
-122.33254012391556 47.63026041235239 -122.31036966897095 47.65513966206871
-122.33955839886022 47.6650960061724 -122.30964296873428 47.5977517049213
END END
END END

View File

@ -28,6 +28,7 @@
- https://humantransit.org/2019/03/notes-on-simcity-at-30.html - https://humantransit.org/2019/03/notes-on-simcity-at-30.html
- https://mynorthwest.com/category/chokepoints/ - https://mynorthwest.com/category/chokepoints/
- https://blogs.uw.edu/ceadvice/2019/05/08/infrastructure-week-2019-welcome-uw-cee-students-and-faculty/ - https://blogs.uw.edu/ceadvice/2019/05/08/infrastructure-week-2019-welcome-uw-cee-students-and-faculty/
- https://escience.washington.edu/dssg/
## Similar projects ## Similar projects

View File

@ -3,8 +3,7 @@ use crate::mission::trips::{clip_trips, Trip};
use crate::ui::{ShowEverything, UI}; use crate::ui::{ShowEverything, UI};
use abstutil::prettyprint_usize; use abstutil::prettyprint_usize;
use ezgui::{ use ezgui::{
hotkey, Color, EventCtx, EventLoopMode, GeomBatch, GfxCtx, Key, ModalMenu, ScreenPt, Slider, hotkey, EventCtx, EventLoopMode, GeomBatch, GfxCtx, Key, ModalMenu, ScreenPt, Slider, Text,
Text,
}; };
use geom::{Circle, Distance, Duration}; use geom::{Circle, Distance, Duration};
use map_model::{PathRequest, LANE_THICKNESS}; use map_model::{PathRequest, LANE_THICKNESS};
@ -161,12 +160,12 @@ impl TripsVisualizer {
let pl = trip.route.as_ref().unwrap(); let pl = trip.route.as_ref().unwrap();
let color = match trip.mode { let color = match trip.mode {
Mode::Drive => Color::RED, Mode::Drive => ui.cs.get("unzoomed car"),
Mode::Walk => Color::GREEN, Mode::Walk => ui.cs.get("unzoomed pedestrian"),
Mode::Bike => Color::BLUE, Mode::Bike => ui.cs.get("unzoomed bike"),
Mode::Transit => Color::ORANGE, // Little weird, but close enough.
} Mode::Transit => ui.cs.get("unzoomed bus"),
.alpha(0.5); };
batch.push( batch.push(
color, color,
Circle::new( Circle::new(

View File

@ -98,7 +98,7 @@ impl UI {
), ),
( (
self.cs self.cs
.get_def("unzoomed pedestrian ", Color::CYAN.alpha(0.5)), .get_def("unzoomed pedestrian", Color::ORANGE.alpha(0.5)),
peds, peds,
), ),
] { ] {