Commit Graph

168 Commits

Author SHA1 Message Date
Ansis Brammanis 823d28339c add styles of schools, universities, pitches
fixes #1389
2013-04-30 15:56:04 -04:00
Ansis Brammanis 4eccd7015f corner destroying resampling for oneway markers 2013-04-25 18:41:49 -04:00
John Firebaugh a2f86154ce Also show vertices on hover in draw modes 2013-04-23 16:52:32 -07:00
John Firebaugh aedd5ee46e Create a dist directory
This directory will contain the built sources (iD.js, iD.css)
and images. On a release branch, we will check in the generated
files. For the osm.us/master deploy, it should run make and use
dist/ as the root.

Paths in css are relative, e.g. url(img/foo.png).
2013-04-22 10:50:36 -07:00
Ian B 6220e2a124 Update aeroway=runway style to cater for areas 2013-04-05 22:08:02 +02:00
John Firebaugh e950042922 Fix cursors, add tests 2013-04-05 11:57:13 -07:00
Ansis Brammanis f356e3e357 fix cursors 2013-04-05 14:24:58 -04:00
Saman Bemel-Benrud be9f8e21be fixing cursor stuff. 2013-04-04 18:27:00 -04:00
Saman Bemel-Benrud bbede6f33d properly implemented retina cursors (i think?) 2013-04-04 18:22:11 -04:00
Saman Bemel-Benrud 4944592aff adding rules for retina cursors. 2013-04-04 17:44:20 -04:00
Ian B c3c2cfd0a2 Add aeroway styles (#1102) 2013-03-30 13:28:14 +01:00
Saman Bemel-Benrud 6c5be4f8f7 adding specific rules for bridge shadows 2013-03-28 16:34:17 -04:00
Saman Bemel-Benrud a4aa9f11f6 fine-tuned oneway markers + preset icon display. 2013-03-28 11:34:07 -04:00
Saman Bemel-Benrud 4fc03b5c7c style adjustments to walkthrough. 2013-03-27 15:55:05 -04:00
saman bb 79f27c340f more specific cursor selectors. 2013-03-25 17:19:11 -04:00
Ansis Brammanis 638456f818 fix opera path halos
fixes #1101
2013-03-21 15:21:27 -04:00
Saman Bemel-Benrud 7b3b5ff73f better bridge rendering, closes #630 2013-03-21 13:26:03 -04:00
Ansis Brammanis d9f12f7942 make map cursor selectors more specific 2013-03-20 17:35:34 -04:00
Tom MacWright c94ec3b4a9 Local GPX file support, first push towards multilayer support. 2013-03-19 18:41:16 -04:00
John Firebaugh ff85d57b82 Simplify 2013-03-15 14:49:57 -07:00
John Firebaugh cc1bb50f0b Fix shadow pointer events 2013-03-15 14:47:05 -07:00
Ansis Brammanis e3d11daceb fix path pointer-events regression 2013-03-15 16:53:24 -04:00
Ansis Brammanis 0a7b19efdc nicer label halos
renders a second text with wider stroke
instead of drawing a block halo with a rect or path
2013-03-15 15:39:10 -04:00
John Firebaugh 2598c00838 Clean up shadow styles 2013-03-15 12:14:36 -07:00
saman bb 88101bd726 simpler point cursor. 2013-03-15 00:52:49 -04:00
John Firebaugh 51a217caa2 Refine tagged vertex rendering
Don't render tagged vertices for which we don't have
an icon as the 'marker' icon. Marker shape is for points.
2013-03-14 13:35:24 -07:00
John Firebaugh 364d93693b Use traditional marker shape for points (fixes #172) 2013-03-14 11:22:10 -07:00
John Firebaugh 3787185182 Rendering tagged points
At z16 and below, tagged points are rendered with a small
dot in the center. At z17 and above, they are rendered with
a maki icon.

See the test rendering page for examples.

Fixes #381.
2013-03-13 17:31:25 -07:00
John Firebaugh 2401a5a547 Fix tag-landuse-retail selectors 2013-03-13 12:53:11 -07:00
John Firebaugh be567fb028 Render landuse=farm and landuse=farmland identically
See http://www.openstreetmap.org/user/Harry%20Wood/diary/14079
for an entertaining rant on this subject.
2013-03-12 13:12:07 -07:00
John Firebaugh 9f5ba8342d Convert DragNode to a mode
This makes the CSS more consistent and makes fixing #953
easier. Also, dragging now clears the selection and closes
any operations menu, which is good.

There's still a minor Chrome bug: it doesn't refresh the
cursor when the .behavior-hover class is removed.
2013-03-11 15:45:27 -07:00
John Firebaugh acd318b792 Fix drag node cursor over line casing
Was previously trying to exclude .area.fill, but this is
now handled by `pointer-events: none` below.
2013-03-11 14:23:02 -07:00
John Firebaugh c4d772e9c2 Crosshair cursor when dragging node (fixes #952) 2013-03-11 14:23:02 -07:00
Ansis Brammanis eeec54f15c Use commercial landuse styles for retail too 2013-03-11 16:43:40 -04:00
Saman Bemel-Benrud 08346de80b fixing landuse stroke colors, closes #940 2013-03-11 16:37:04 -04:00
John Firebaugh ab561ff198 Better way to prevent snapping to area fill
This also prevents are hover behavior during node dragging,
while allowing snapping to vertex fill.
2013-03-11 12:29:00 -07:00
Ansis Brammanis 6440905e36 add transparency for highway tunnels 2013-03-10 00:45:22 -05:00
John Firebaugh 5c9bb631a2 Fix previous commit 2013-03-09 15:58:31 -08:00
John Firebaugh 6aa6c278b2 Improve railway=platform rendering (fixes #946) 2013-03-09 15:57:43 -08:00
John Firebaugh 60ff6fc021 Use maki icons for points (fixes #881) 2013-03-08 20:22:06 -08:00
Ansis Brammanis bfdca7fc85 Add fill patterns for landuse, natural areas
Not working in Firefox. To get it to work in Firefox,
styles need to be directly applied to the path, or
set in an embedded stylesheet (not sure whats going on there).
2013-03-08 00:16:07 -05:00
John Firebaugh 27861ca6b2 Implement multiselect cursors (fixes #296) 2013-03-07 11:57:43 -08:00
Tom MacWright 9502f34e08 Merge pull request #918 from systemed/resample-oneway
Resample oneway paths to produce markers.
2013-03-07 11:37:26 -08:00
John Firebaugh a6ce12efb6 Add shadow on area strokes (fixes #674) 2013-03-07 10:33:11 -08:00
John Firebaugh 457922856e Remove stroke-width on vertex shadows
This was causing oversized hit boxes on Firefox.
2013-03-07 10:33:10 -08:00
Tom MacWright 27c0edb2c1 Resample oneway paths to produce markers.
This uses a technique created by @mbostock in http://bl.ocks.org/mbostock/4965670
Need to confirm that this is faster. It is definitely cleaner.
2013-03-06 21:08:50 -05:00
John Firebaugh bf90c1ae93 Render circular place=* as an unfilled area
Basically, give it area label placement, but line
behavior otherwise.

Test case: #id=w169604918&map=19.46/41.41402/-70.94773
2013-03-06 17:37:18 -08:00
saman bb 15c37b86b9 fixes in map.css 2013-03-06 19:57:01 -05:00
saman bb 09f01ada5e added styles for beach and scrub. 2013-03-06 19:41:15 -05:00
saman bb a131acd7f0 Merge branch 'master' of github.com:systemed/iD 2013-03-06 19:37:11 -05:00