Commit Graph

76 Commits

Author SHA1 Message Date
John Firebaugh
c05f3ea7f4 Don't fill multipolygon boundaries (fixes #426) 2013-01-21 20:32:56 -05:00
John Firebaugh
4a084a8b89 Improve midpoints rendering 2013-01-20 12:01:19 -08:00
John Firebaugh
fce209131a Improve vertex rendering 2013-01-20 11:37:14 -08:00
John Firebaugh
33b1f4f23c Render more line features 2013-01-20 09:39:25 -08:00
John Firebaugh
79801e57af More highway rendering improvements 2013-01-19 21:04:50 -08:00
John Firebaugh
e5407fa49d Improve highway rendering; render halo in a separate layer 2013-01-19 18:07:39 -08:00
John Firebaugh
abb5d83d9c Add amenity=parking rendering 2013-01-17 21:10:30 -08:00
John Firebaugh
c5afec0f98 Add leisure=park rendering 2013-01-17 21:03:25 -08:00
John Firebaugh
a8cd845831 Use area cursors for multipolygons for now 2013-01-17 20:50:58 -08:00
John Firebaugh
3eaf4a46e0 Add CSS classes for relation memberships
An entity that is a member of a relation will have the classes
`member`, `member-role-<member role>`, and `member-type-<relation type>`.

The first use of these classes is to avoid filling multipolygon
member areas.
2013-01-17 15:17:40 -08:00
John Firebaugh
9a76b81125 First cut on multipolygon rendering 2013-01-17 11:57:30 -08:00
Tom MacWright
3d10a00284 Higher-contrast shared vertices 2013-01-17 10:16:39 -05:00
Tom MacWright
852e0216f3 Improve contrast of selected way nodes. Fixes #371 2013-01-16 13:18:57 -05:00
Tom MacWright
6aae64bd62 Add waystack, fix bridge coloring 2013-01-16 13:06:01 -05:00
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