Tom MacWright
140e6991ed
Stack areas as well as ways. Fixes #409
2013-01-16 14:21:20 -05:00
Tom MacWright
199584fbff
Name drawing functions so we can profile them
2013-01-16 13:54:36 -05:00
Tom MacWright
6aae64bd62
Add waystack, fix bridge coloring
2013-01-16 13:06:01 -05:00
Tom MacWright
e3775844c8
Refactor lines, keep non-scoped fns out of scope
2013-01-16 12:52:06 -05:00
Tom MacWright
87c341d7e0
Fix jshint problems.
2013-01-16 12:39:35 -05:00
Tom MacWright
cbe41f16d5
Do not output invalid linestrings. Fixes #360
...
Though switching back to geo paths with fill this even more.
2013-01-12 01:38:29 -05:00
Tom MacWright
f9f1436007
Pixel-determined midpoints.
...
betting that computation is better than tons of svg elements
2013-01-12 01:33:13 -05:00
Tom MacWright
165aa9d488
Faster string building, do not change value if not different. Fixes #390
2013-01-12 01:12:19 -05:00
Tom MacWright
11db79d37b
Silly svg
2013-01-12 01:04:10 -05:00
Tom MacWright
8e17841c07
Make tag classes functions non-anonymous
2013-01-12 00:50:21 -05:00
John Firebaugh
acaaab5dc9
Extract iD.svg.Surface
2013-01-11 16:01:39 -08:00
John Firebaugh
7dc1945ee3
accuracy-handle -> midpoint
2013-01-11 14:54:51 -08:00
Ansis Brammanis
c894ad26f2
nicer getComputedLength caching
2013-01-11 17:28:04 -05:00
Ansis Brammanis
61533019dd
don't recalculate, for real this time
2013-01-11 17:10:25 -05:00
Ansis Brammanis
6b09da380d
only getComputedTextLength() once
2013-01-11 16:56:28 -05:00
Ansis Brammanis
7e9eaa6422
fix svg line text
2013-01-11 15:57:28 -05:00
Ansis Brammanis
9251edb02b
fix oneway text
2013-01-11 15:46:28 -05:00
John Firebaugh
e95d163dbc
Apply tag classes to vertices and points
...
While here, introduce a `classed` matcher for Chai.
2013-01-11 12:22:23 -08:00
John Firebaugh
577398ca21
Fix .shared classing
...
Now that Graph#parentWays is cached, the specialized Graph#parentStructure
method is no longer necessary.
This commit also demonstrates that it's relatively easy to write specs for
rendering now!
2013-01-11 11:56:37 -08:00
John Firebaugh
b8310e2d9f
Move to iD.svg.TagClasses
2013-01-11 11:56:37 -08:00
John Firebaugh
809b73599c
Merge points code into iD.svg.Points
2013-01-11 07:49:26 -08:00
John Firebaugh
6aa43f44d0
Split map rendering into some components
2013-01-11 07:04:40 -08:00