Commit Graph

62 Commits

Author SHA1 Message Date
John Firebaugh
e85bdba950 Ensure drawing doesn't interact with area fills
Fixes #332
2013-01-11 16:24:01 -08:00
John Firebaugh
7dc1945ee3 accuracy-handle -> midpoint 2013-01-11 14:54:51 -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
Tom MacWright
3680d8ae8a Adding pointer-events to textpath. Fixes #359 2013-01-11 13:59:02 -05:00
Tom MacWright
df7c0346c7 Differentiate bridges slightly better 2013-01-10 17:42:03 -05:00
Tom MacWright
5c775ce251 Remove unused rules, be specific about webkit taps 2013-01-09 13:28:41 -05:00
Ansis Brammanis
3cfb3ce81b Make oneways selectable 2013-01-09 12:26:36 -05:00
Tom MacWright
9fc05f5e35 Zoom-dependent styles, optimize difference algorithm. 2013-01-08 16:07:16 -05:00
Tom MacWright
267a7b6c85 Brush up map and UI styles 2013-01-08 15:33:13 -05:00
John Firebaugh
e5d79d5270 Fix various line and area drawing bugs
The way and vertex being drawn get an `active` class,
which can be used to hide the vertex and set
`pointer-events: none` on the line.

Use the correct cursors when connecting (fixes #293).

Splice into existing lines at the correct index and
location (fixes #246).
2013-01-07 21:58:01 -08:00
John Firebaugh
b6beed5606 Prefix tag classes with tag-
When re-rendering, existing non-tag-related classes
such as `selected`, `active`, `hover`, etc. should be
preserved. Without a prefix, it's difficult to
distinguish them from tag classes.
2013-01-07 19:47:56 -08:00
Tom MacWright
2a60bca919 Make area fill white instead of red. Fixes #323 2013-01-07 13:19:13 -05:00
Tom MacWright
88ff18b7ae Be specific about opacity, this is a perf problem in FF 2013-01-04 13:12:58 -05:00
Tom MacWright
5671a73dba Use groups and fill/strokes for all points except for accuracy handles.
Fixes #278
2013-01-04 12:59:06 -05:00
Tom MacWright
1c90441881 Do point hover scaling without r. 2013-01-04 12:05:20 -05:00
John Firebaugh
c927ff5b5d Rationalize vocabulary
- nodes
  - vertices
  - points
- ways
  - lines
  - areas
2012-12-29 09:18:05 -08:00
John Firebaugh
3673b0bd74 Consolidate cursor styles 2012-12-27 18:52:56 -08:00
John Firebaugh
78569a5ef3 Extract select behavior to mode
While here, use a more appropriate class (.selected).
2012-12-27 18:52:55 -08:00
John Firebaugh
883acd3e60 two-parents -> shared
It might have more than two parents.
2012-12-22 14:46:16 -08:00
John Firebaugh
5c6a45d22d Use cursor-select-acting.png (fixes #304) 2012-12-22 14:46:13 -08:00
John Firebaugh
798da1adde Fix fill 2012-12-21 13:49:06 -08:00
John Firebaugh
40a32de443 Hide select cursors when in draw modes (fixes #290) 2012-12-21 13:32:39 -08:00
Tom MacWright
e8a14f8b5b Make handles connected to more than one way cyan. Fixes #205 2012-12-17 14:06:27 -05:00
Tom MacWright
d8d65c4784 Transition stroke active class colors. Refs #287 2012-12-17 12:35:06 -05:00
Saman Bemel-Benrud
9348068224 forgot to uncomment thing 2012-12-14 19:56:48 -05:00
Saman Bemel-Benrud
8c364091a3 refining cursor behavior. 2012-12-14 19:54:55 -05:00
Saman Bemel-Benrud
37c79c0500 basic cursor stuff. 2012-12-14 16:30:31 -05:00
Saman Bemel-Benrud
a78b10a765 map marker style adjustments, more work to inspector. 2012-12-14 12:10:02 -05:00
Saman Bemel-Benrud
c93cd4c9a3 starting to style handles. 2012-12-12 20:44:05 -05:00
John Firebaugh
caf382c1dc Remove elastic vestiges 2012-12-06 18:48:13 -05:00
Tom MacWright
aa5c86131f Properly style natural-water. Fixes #211 2012-12-06 13:54:22 -05:00
John Firebaugh
1c5878fa49 Highlight roads when hovering stroke (fixes #165) 2012-12-06 10:49:32 -05:00
Tom MacWright
bd1a34153a First shot at way accuracy handles 2012-12-03 17:08:53 -05:00
Tom MacWright
c00ea92089 Fix handle styling 2012-12-03 16:37:40 -05:00
Tom MacWright
15267af822 Support drawing areas when you start out with ways 2012-11-29 16:43:56 -05:00
Tom MacWright
abf2941425 Support removing nodes from ways 2012-11-29 10:10:14 -05:00
Tom MacWright
f7fcf37197 Fix deletion, make active class clearer, refocus on DC, fix friendlyName 2012-11-29 09:35:48 -05:00
Tom MacWright
8a62aaa62a Use temporary elastic tag 2012-11-28 18:42:04 -05:00
Tom MacWright
5260a4522a Fixup active casings, shorter prefix detection. 2012-11-27 12:01:32 -05:00
Tom MacWright
1fcb641b4b One-way street markings, fixes #40 2012-11-15 14:01:15 -05:00
Tom MacWright
4e4c585d00 Define elements 2012-11-14 18:51:00 -05:00
Tom MacWright
f40e12ba1d Fix dragging nodes that are members of multiple ways 2012-11-13 21:45:04 -05:00
Tom MacWright
81df223511 Bevel join lines 2012-11-13 17:57:02 -05:00
Tom MacWright
2076616063 Always-on handles, start intersecting elements again, fetch elements
early
2012-11-13 17:53:06 -05:00
Tom MacWright
41b0678f05 Clickable road casings, trying to fix road drawing logic 2012-11-13 14:33:52 -05:00
Tom MacWright
fb6a7658c6 Better active state for areas 2012-11-13 12:33:06 -05:00
Tom MacWright
23a0470f44 Add background circles for POIs, better select states for them. 2012-11-13 12:29:59 -05:00
Tom MacWright
f8784b746f Better unknown icon, select features after adding them. 2012-11-12 18:04:10 -05:00
Tom MacWright
89dded9967 Improve poi finding performance, update map style 2012-11-12 17:36:23 -05:00
Tom MacWright
84c5345cee Map performance improvements 2012-11-12 13:40:17 -05:00