Dustin Carlino
765335b0da
Show unprotected turns along route. #743
2021-09-17 12:32:17 -07:00
Dustin Carlino
cca701fb3e
Show traffic signals along route. #743
2021-09-17 12:27:00 -07:00
Dustin Carlino
14ce21c80d
Show high-stress roads in route. #743
2021-09-16 13:44:03 -07:00
Dustin Carlino
797bb82c41
Rename routes. #743
2021-09-16 12:46:39 -07:00
Dustin Carlino
a12ceac38b
Cutover from the S3 bucket in one region to the Cloudfront CDN
2021-09-14 10:55:33 -07:00
Dustin Carlino
59bccacdea
Automate the process of importing external scenario JSON files for built-in maps. Right now this is just actdev sites. I've been doing this manually when I remember to.
...
And remove some background scenarios for actdev sites; I don't know how
those crept in.
2021-09-13 14:01:56 -07:00
Dustin Carlino
824e9df5e9
Fix bike quick sketch tool in left-handed maps. #743
2021-09-13 13:14:26 -07:00
Dustin Carlino
efbf6f604d
Regenerate all data from #752
2021-09-13 10:53:35 -07:00
easbar
0a7670d874
Update fast_paths to current master, faster preparation
2021-09-13 10:53:14 -07:00
Dustin Carlino
3125b9fdb2
new release
2021-09-12 16:31:58 -07:00
Dustin Carlino
11bd4ea209
Show elevation on the map directly while hovering. #743 [rebuild]
...
[release]
2021-09-12 10:28:54 -07:00
Dustin Carlino
503a3e8a9e
Slightly reorganize route panel to stop eating all of the screen width.
...
Make the drawn route a bit transparent when zoomed in.
2021-09-12 08:38:49 -07:00
Michael Kirk
83ebc96bb1
drag/drop uses system grabbable/grabbing cursor
2021-09-10 15:17:15 -07:00
Michael Kirk
577192bb89
style row header
2021-09-10 15:17:15 -07:00
Michael Kirk
09fcca8533
left-align vertical drag/drops
2021-09-10 15:17:15 -07:00
Michael Kirk
3b1ed1f82f
fix button v alignment,
...
Also: use standard interaction color when dragging, not the primary
orange color.
2021-09-10 15:17:15 -07:00
Michael Kirk
84b3d87c37
refactor uninted to be builder method, not constructor. it composes better this way
2021-09-10 15:17:15 -07:00
Michael Kirk
a0ea2ba14e
use btn_close instead of "X"s
2021-09-10 15:17:15 -07:00
Dustin Carlino
2387975fac
Fix crash in road editor when changing speed limit while not selecting any lane.
2021-09-10 14:24:11 -07:00
Dustin Carlino
8147f49093
Work around widgetry focus problem -- allow space or enter to choose a menu entry. Proper fix started and problem described more in #739 .
2021-09-10 13:54:47 -07:00
Dustin Carlino
50b8c533bf
Click and drag in the map_editor for intersections, interior road points, and buildings
2021-09-09 09:09:41 -07:00
Dustin Carlino
2598f2a15d
Workaround spinners with f64s that wind up with 0.0000001 drift
2021-09-08 08:00:49 -07:00
Dustin Carlino
27a712bcc3
Remove buttons from map_editor map loader -- very slow and not useful
2021-09-07 15:39:55 -07:00
Dustin Carlino
a8645bd9ed
Refactor places setting camera from URL
2021-09-07 11:21:56 -07:00
Dustin Carlino
4068986c58
Refactor URLManager -- on errors, always warn
2021-09-07 11:14:31 -07:00
Dustin Carlino
570cd2de84
Make map_editor more web-friendly:
...
- adjust the panel
- hide some controls on the web
- keep the URL up-to-date with the map and camera
2021-09-07 11:00:27 -07:00
Dustin Carlino
ce23d3c37a
Preserve camera state in map_editor when appropriate -- makes reloading less jarring
2021-09-07 09:46:41 -07:00
Dustin Carlino
d1e60c888a
Handle broken RawMaps, which're more likely to happen in the web
...
deployment, since I'm not planning to version input data.
As part of this, prepare to lift the PopupMsg helper from map_gui to
widgetry, removing dependencies on AppLike.
2021-09-07 09:41:17 -07:00
Dustin Carlino
c8de2ca82d
Make map_editor load initial files using FileLoader, so it works on web
2021-09-06 22:41:20 -07:00
Dustin Carlino
144f2205b2
Add a file loader to map_editor. Clunky UI, but workable.
2021-09-06 21:09:45 -07:00
Dustin Carlino
05d4474926
Deploy the RawMap editor to the web. I want to point to it from the
...
intersection geometry article for a slightly more interactive
experience.
It'll be a bit brittle, because it'll always point at the dev version of
RawMaps. It seems like a huge waste of storage to put RawMaps under
versioning too.
2021-09-06 15:46:33 -07:00
Dustin Carlino
b7d010058c
Store Movements per Intersection, instead of constantly calculating them! #746
...
Regenerating everything...
2021-09-06 14:53:37 -07:00
Dustin Carlino
7f86fe5ce6
Fix the run_scenario tool, try to use it for profiling
2021-09-06 09:54:58 -07:00
Dustin Carlino
28f7d217bb
new release
2021-09-05 21:26:56 -07:00
Dustin Carlino
6dcf417cd0
Fix some clippy warnings, and now regenerate everything...
...
Green Lake sim crashes, not investigating.
[rebuild] [release]
2021-09-05 19:53:10 -07:00
Dustin Carlino
9300470c6b
Lane offset comes for free now
2021-09-05 19:53:10 -07:00
Dustin Carlino
442523ae6c
Simplify some lane lookups that just needed to find the parent
2021-09-05 19:53:10 -07:00
Dustin Carlino
112bc38e0c
Get rid of the now redundant lanes_ltr
2021-09-05 19:53:10 -07:00
Dustin Carlino
4c46510342
Cleaning up a few APIs, now that lanes belong to roads...
2021-09-05 19:53:10 -07:00
Dustin Carlino
0f4a31e915
Moving lanes from a BTreeMap to be stored inlined in their parent Roads. #746
...
Somewhat invasive API change internal to map_model, but not much impact
elsewhere.
Not regenerating anything yet.
2021-09-05 19:53:10 -07:00
Dustin Carlino
cea0ad2541
Change LaneID to encode (RoadID, offset), still in one u32. #746
...
Not regenerating yet.
2021-09-05 19:53:10 -07:00
Dustin Carlino
add42b6f19
When pathfinding with custom routing params (from the debug UI), only rebuild the one graph we need. #746
2021-09-05 17:04:54 -07:00
Dustin Carlino
8c2c0e2e65
Start some new RoutingParams for bikes to avoid steep hills and
...
stressful roads. Initially experiment in the route debugger UI. #743
This is a binary map format change, but temporarily working around
that...
2021-09-05 17:04:54 -07:00
Dustin Carlino
0ad76921fd
Don't crash in map_editor when we encounter overlapping OSM ways; skip that intersection and print loudly.
2021-09-04 10:43:14 -07:00
Dustin Carlino
b231ba602f
Drag-n-drop for waypoints! #743
...
Also some drag-n-drop API tweaks:
- Don't require the caller to set `named()`
- Vertical card layout!
Some UX issues:
- deletion button alignment
- horizontal card alignment off
- sync up highlighting between map and cards
- selection state for a waypoint is meaningless
2021-09-03 13:23:17 -07:00
Dustin Carlino
2234c52cc6
Allow routes to be saved in the bike network tool. #743
...
Some UX clunkiness:
- not allowing custom names yet
- no autosave
- the left/right arrows can silently eat the current route
2021-09-03 12:23:58 -07:00
Dustin Carlino
01877cb576
Remove the experimental sumo import crate from early this year. It causes very slight technical debt (some public Map stuff) and there are no plans to do anything with this. The Sumo XML parser is always here in version control if it becomes interesting again later.
2021-09-01 19:23:13 -07:00
Dustin Carlino
b8d0fd6499
We just need the bike graph. #746
2021-09-01 19:15:07 -07:00
Dustin Carlino
f83168184d
Start a tool to compress Map files by removing information unnecessary to the bike network tool. #746
...
Just a modest start, switching from CHs to Dijkstra's for pathfinding. Not uploading the minified result yet.
2021-09-01 19:02:42 -07:00
Dustin Carlino
1c756befa8
Hover on route, to show elevation on line plot. #743
...
Some messiness, but step forward.
2021-09-01 18:20:48 -07:00