Commit Graph

89 Commits

Author SHA1 Message Date
John Firebaugh
7dba315974 Fix draw area cursors 2013-01-24 18:09:29 -05:00
Tom MacWright
c7716ae864 Fix CSS typos 2013-01-24 16:11:47 -05:00
Tom MacWright
2b4b8cb5fe Merge pull request #468 from systemed/labels
Labels
2013-01-23 16:21:01 -08:00
Ansis Brammanis
99748dba4e Fix several small label related bugs 2013-01-23 18:54:31 -05:00
John Firebaugh
2b799ddd7b Improve point rendering 2013-01-23 18:24:17 -05:00
Ansis Brammanis
b678486c01 Label bugfixes and cleanup 2013-01-23 16:08:43 -05:00
Ansis Brammanis
4a87ae8298 Point halos and test width calculation/estimation 2013-01-23 11:48:04 -05:00
Ansis Brammanis
66c0a08d00 Merge remote-tracking branch 'systemed/master' into labels
Conflicts:
	js/id/renderer/map.js
2013-01-22 14:55:15 -05:00
Ansis Brammanis
2b7aa93096 Add classes to labels for styling 2013-01-22 14:47:50 -05:00
John Firebaugh
c05f3ea7f4 Don't fill multipolygon boundaries (fixes #426) 2013-01-21 20:32:56 -05:00
Ansis Brammanis
0afb564435 Merge remote-tracking branch 'systemed/master' into labels
Conflicts:
	js/id/svg/lines.js
	js/id/svg/surface.js
2013-01-20 20:37:00 -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
Ansis Brammanis
efd829e396 Merge branch 'master' into labels
Conflicts:
	js/id/renderer/map.js
	js/id/svg/lines.js
2013-01-18 17:19:12 -05:00
Ansis Brammanis
9e784b6bc9 mostly working path and point labelling 2013-01-18 16:34:41 -05: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
Ansis Brammanis
8a84dd4c8e start label styles and positioning 2013-01-17 16:10:01 -05: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