Ansis Brammanis
a0072bfa18
Add map.extent and use in geocoder
2013-01-14 15:36:52 -05:00
Tom MacWright
72afc6dcb9
Namespace UI components
2013-01-14 14:00:51 -05:00
Tom MacWright
a9bf2f1606
Fix counts. Fixes #362
2013-01-14 13:51:56 -05:00
Ansis Brammanis
1dc56aa73f
Avoid aborting and re-requesting still wanted reqs
2013-01-14 12:12:59 -05:00
Ansis Brammanis
233b2647cd
fix isLine logic (from jfire)
2013-01-14 11:46:45 -05:00
Ansis Brammanis
dc9f7f6a03
stop addLine from continuing area's way
2013-01-14 10:45:54 -05:00
Tom MacWright
2f1e219d64
jshint tweak
2013-01-14 10:18:22 -05:00
Ansis Brammanis
fcc981db60
Exit select mode if entity gets undone
2013-01-14 10:13:50 -05:00
John Firebaugh
1d707b0eb2
Match inners with outers
...
After thinking about how the `evenodd` fill rule works, I pretty sure
we don't actually need to do this. If I'm right, I'll back it out, and
it will be in the history if we need it for some other purpose.
2013-01-13 18:17:16 -08:00
John Firebaugh
5089e2370b
Point-in-polygon algorithm
...
No tests. I didn't write it so I assume it's correct!
2013-01-13 17:20:04 -08:00
John Firebaugh
67c8e287cf
Start on multipolygon reconstruction algorithm
2013-01-13 17:20:04 -08:00
Ansis Brammanis
ac8c12e7eb
Remove double-undo when exiting drawLine mode
2013-01-13 19:55:08 -05:00
Ansis Brammanis
7c7121d1ea
Flash message for no geocoder results
2013-01-12 18:09:01 -05:00
John Firebaugh
e93f860c4c
r -> l for Add Line, fixes #377
2013-01-12 11:30:39 -08:00
John Firebaugh
ddaca08fb1
Clean up parentWays, apply same algorithm to relations
2013-01-12 11:03:45 -08:00
John Firebaugh
6e044f3607
Store flag on _parentWays itself, fixes #392
...
Relying here on the fact that `calculated` will never
collide with an actual entity ID.
2013-01-12 10:55:18 -08:00
Tom MacWright
ea3b7baf14
Tag classes no longer changes classes if there is no change. This makes the default, no-class scenario null instead of an empty string
2013-01-12 09:30:11 -05:00
Ansis Brammanis
bb65916e06
Fix careless naming, fixing node dragging
2013-01-12 02:15:33 -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
Tom MacWright
0d6e87a217
Merge pull request #388 from systemed/parentways
...
More efficient graph.parentWays
2013-01-11 21:39:50 -08:00
Ansis Brammanis
62e78b5b9b
clean up parentWays
2013-01-11 20:37:32 -05:00
John Firebaugh
4c6757714c
parentWays/Relations now take an entity
2013-01-11 17:26:25 -08:00
John Firebaugh
e85bdba950
Ensure drawing doesn't interact with area fills
...
Fixes #332
2013-01-11 16:24:01 -08:00
Ansis Brammanis
a08dd7ecce
More efficient parentways
2013-01-11 19:14:17 -05:00
John Firebaugh
acaaab5dc9
Extract iD.svg.Surface
2013-01-11 16:01:39 -08:00
John Firebaugh
45fd260d8f
Add basic Area test
2013-01-11 15:49:56 -08:00
John Firebaugh
cf5efdcfa1
Lint fixes
2013-01-11 14:54:51 -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
Tom MacWright
68e79ef81d
Merge branch 'master' of github.com:systemed/iD
2013-01-11 15:36:06 -05:00
Tom MacWright
e30995921e
Remove indirection between entity and types
2013-01-11 15:35:10 -05:00
Ansis Brammanis
d4524d2ef5
Fix area closing (no duplicate nodes at end of way)
2013-01-11 15:32:25 -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
c24d6d83e3
This doesn't seem necessary now that text is pointer-events: none
2013-01-11 11:56:37 -08:00
John Firebaugh
b8310e2d9f
Move to iD.svg.TagClasses
2013-01-11 11:56:37 -08:00
Ansis Brammanis
7b092b7856
Merge branch 'master' of github.com:systemed/iD
2013-01-11 14:30:43 -05:00
Ansis Brammanis
87ee1cf0cb
Select way/area after hitting enter/escape
2013-01-11 14:30:09 -05:00
Tom MacWright
3680d8ae8a
Adding pointer-events to textpath. Fixes #359
2013-01-11 13:59:02 -05:00
Ansis Brammanis
486c201a21
Fix jerk after dragging
2013-01-11 13:39:14 -05:00
Ansis Brammanis
bdb958d912
simpler panning on select
2013-01-11 12:31:42 -05:00
Ansis Brammanis
46aff8d1ba
Fix connecting a way to an accuracy handle
2013-01-11 12:00:02 -05:00