Commit Graph

72 Commits

Author SHA1 Message Date
Dustin Carlino
f5fc04a14e WIP debugging bad polygons. seemingly fixed one pt inversion case that
happens only on the first pt.
2018-06-26 13:23:56 -07:00
Dustin Carlino
ed799097dc render parcel interior with nice colors, but draw it lowest 2018-06-26 11:22:18 -07:00
Dustin Carlino
50aa53e9a9 drawing parking markings too 2018-06-26 11:11:34 -07:00
Dustin Carlino
736d143b30 draw sidewalk marks 2018-06-26 10:36:24 -07:00
Dustin Carlino
43536743a8 warp plugin, and making text entry handle numbers 2018-06-26 09:05:14 -07:00
Dustin Carlino
8de92c095a OSM tags as a hash, now that serialization is easy 2018-06-26 07:35:34 -07:00
Dustin Carlino
bc92c3ca8d replacing the pb with serde stuff 2018-06-25 18:56:57 -07:00
Dustin Carlino
fcec05cdfa rm old thick line stuff at last 2018-06-25 16:16:40 -07:00
Dustin Carlino
e1e3abbb28 fixed turns that vanished 2018-06-25 15:42:04 -07:00
Dustin Carlino
5a9bc56c32 center lines are finally gone 2018-06-25 15:34:21 -07:00
Dustin Carlino
0fa7fc25d4 use center pts in more places... 2018-06-25 15:23:15 -07:00
Dustin Carlino
729ad9df24 plumb in new lane center pts, and use them for rendering always. looks OK... 2018-06-25 14:50:18 -07:00
Dustin Carlino
571673b02f figuring out where polygons go wrong... 2018-06-25 14:41:00 -07:00
Dustin Carlino
7c747ea9ee working on calculating start/end crossings explicitly 2018-06-25 13:48:30 -07:00
Dustin Carlino
fef18fbf2f use new polygons for parcels... 2018-06-25 13:29:31 -07:00
Dustin Carlino
1f34f588a3 undo the debug 2018-06-25 13:21:51 -07:00
Dustin Carlino
dfdd717c29 use shifted points for polygon, all using the old polyline stuff... 2018-06-25 13:17:28 -07:00
Dustin Carlino
6cad6c7394 working on the line trimming logic. seems to do something? 2018-06-25 13:11:55 -07:00
Dustin Carlino
6afb71ea5f preps for line trimming 2018-06-25 11:54:15 -07:00
Dustin Carlino
427bdf3f34 compute front path upfront 2018-06-25 11:16:33 -07:00
Dustin Carlino
2eb0193fb3 slight fixup to drawmap ctor 2018-06-25 10:32:17 -07:00
Dustin Carlino
8e1af1f4ea store graph connections more sanely 2018-06-25 10:28:33 -07:00
Dustin Carlino
06b28f2d2d finishing screenspace translation of roads and intersections 2018-06-25 10:13:02 -07:00
Dustin Carlino
1242ec5297 WIP transforming gps to screen space earlier 2018-06-25 09:40:37 -07:00
Dustin Carlino
ee90ce1ed8 cleaning up redundant extern crates 2018-06-25 09:14:44 -07:00
Dustin Carlino
ba310cbd45 removing geom crate, using just map model 2018-06-25 09:00:43 -07:00
Dustin Carlino
2b9eb66ba1 moving polyline to map_model, using pt2d 2018-06-24 17:01:40 -07:00
Dustin Carlino
3e33162779 polygons for a polyline. the simple method somehow didn't work, not sure
why!
2018-06-24 16:49:00 -07:00
Dustin Carlino
2314907f4e unit test for polyline shifting 2018-06-23 21:19:58 -07:00
Dustin Carlino
2334c46cd3 now with 4 points, and shifting an entire polyline intelligently 2018-06-23 16:23:56 -07:00
Dustin Carlino
8530622beb label all points by the magic of macros 2018-06-23 15:37:18 -07:00
Dustin Carlino
3f1b867809 multiple lanes on each side of the road 2018-06-23 15:15:08 -07:00
Dustin Carlino
3270d9f1ba messing around with the multiline drawing. moving point, labeling
points, using line intersection to find a decent join point.
2018-06-23 14:52:18 -07:00
Dustin Carlino
0327432f2f adding a second UI for experimenting 2018-06-23 10:27:30 -07:00
Dustin Carlino
0d46b413bb move gfxctx 2018-06-22 14:42:13 -07:00
Dustin Carlino
b3267bb2e7 make background color configurable 2018-06-22 14:08:52 -07:00
Dustin Carlino
5ce158cb90 refactoring json saving/loading 2018-06-22 13:36:12 -07:00
Dustin Carlino
915ad9f7fe slightly refactor some zoom stuff 2018-06-22 10:56:18 -07:00
Dustin Carlino
d54bce01ac make plugins track their own active state 2018-06-22 10:35:35 -07:00
Dustin Carlino
2770b59f85 make the color tuner actually change things live 2018-06-21 21:33:08 -07:00
Dustin Carlino
348f9a0a0f very hacky menu to pick what color to change 2018-06-21 13:45:09 -07:00
Dustin Carlino
6b8a5a0103 moving more colors to scheme 2018-06-21 11:18:17 -07:00
Dustin Carlino
dde825fa56 dont clobber colors when introducing a new one 2018-06-21 10:42:30 -07:00
Dustin Carlino
e7e334a460 using color scheme in most places 2018-06-21 10:32:07 -07:00
Dustin Carlino
623f0528cd saving and loading a color scheme, but not using it yet 2018-06-21 09:40:53 -07:00
Dustin Carlino
e0a613fb21 basic color picker plugin 2018-06-20 21:13:41 -07:00
Dustin Carlino
480bf5ffbe always display the front path for buildings 2018-06-20 18:13:18 -07:00
Dustin Carlino
c2473828a6 finding paths between buildings and nearest sidewalk 2018-06-20 17:29:04 -07:00
Dustin Carlino
03df50c96e fill in parcel interior with color 2018-06-19 14:24:30 -07:00
Dustin Carlino
3838a1c4ac extra lanes on one-ways 2018-06-19 13:39:10 -07:00