Commit Graph

207 Commits

Author SHA1 Message Date
Bryan Housel
bf4659e98f more consistency in presets..
* in general, display fields:
    operator, address, building_area, hours (where this makes sense)
* make kindergarten, school, college, university more similar
* show building_area for most craft=* and shop=*
* remove erroneous `tinsmith` file
* update README
* structure json files like:
    icon, fields, geometry, terms, tags, name
    (most json files were this way already)
2014-08-25 13:44:49 -04:00
Bryan Housel
9a2f30d62a change residential, commercial landuse styles (closes #2317)
Now using softer versions of the "standard" LBCS landuse styles from here:
https://www.planning.org/lbcs/standards/pdf/InOneFile.pdf
2014-08-11 16:52:09 -04:00
John Firebaugh
b4fa085663 Do not fully fill certain landuse values, e.g. landuse=residential
residential, retail, commercial and industrial landuse tags
typically cover large, dense areas with many overlapping
features. The large click targets of filled areas have proven
to be very good for usability in the general case, but are
a common source of accidental mistagging in this case.

We may add additional tags to this list, but these are the
obvious first step — especially landuse=residential.

Fixes #542.
2014-07-29 10:34:27 -07:00
Bryan Housel
e23448c25e Class midpoints to match parent way and adjust styles.
After editing more with 1.5.3, I really dislike the more visible
midpoints I added in afa1efd.  This commit gives the midpoints
tag classes so that we can style only *certain* midpoints more visible
(footpath, cycleway, bridleway, etc) and leave all the others dim.
2014-07-28 23:11:52 -04:00
Bryan Housel
afa1efd922 Adjust midpoint opacity for more visibility (#1448)
(esp. on sidewalks, footpaths, bridlepaths, etc)
2014-07-16 23:45:33 -04:00
Bryan Housel
a5f839db44 improve bridge styles, add low-zoom, butt linecaps.. 2014-06-09 23:16:44 -04:00
John Firebaugh
d90f8054b1 Remove retina cursors
They are broken on Safari in a way that is incompatible
with making them work on Chrome.

https://bugs.webkit.org/show_bug.cgi?id=120783

Fixes #2157.
2014-05-29 15:53:13 -07:00
John Firebaugh
48e3ff2f22 Vertex in turn restriction editor isn't selectable 2014-05-18 16:02:48 -07:00
John Firebaugh
573237e94e Render U-turns 2014-05-18 16:02:48 -07:00
John Firebaugh
d4d80b2d6e Use turn restriction icons 2014-05-18 16:02:48 -07:00
John Firebaugh
f39ae89177 Render turns of selected way 2014-05-18 16:02:47 -07:00
Bryan Housel
0eca063b8e Move building styles after everything.
(mostly so railway=station tagged building looks like a building)
2014-05-01 10:40:26 -04:00
Bryan Housel
66a1464031 Avoid dashed stroke on railway areas and railway platforms.. 2014-05-01 01:16:33 -04:00
Bryan Housel
b55bb0e55d Move all structure styles (bridge/tunnel/embarkment) after way styles. 2014-04-30 14:03:51 -04:00
Bryan Housel
f3ee2664a1 Render embarkment/cutting with dashed casing 2014-04-30 14:01:46 -04:00
Bryan Housel
5bcd228f27 Remove tag-highway from tunnel css, so railway and waterway tunnels get some opacity too. 2014-04-30 10:23:04 -04:00
John Firebaugh
c2ac0518b8 Fix more fill opacities 2014-04-26 13:32:59 -07:00
John Firebaugh
75bf1cfd04 Fix typo 2014-04-26 12:50:12 -07:00
John Firebaugh
8417329039 Fix highway=pedestrian area fill 2014-04-23 18:58:23 -07:00
John Firebaugh
273b5e2f63 Fix fill colors 2014-04-15 15:41:57 -07:00
John Firebaugh
6dbd0166fc Improvements to land use preset display 2014-04-15 10:45:56 -07:00
samanpwbb
a5f095bd9c add unique style for landuse military 2014-04-14 15:48:40 -04:00
Bryan Housel
593a041f74 various updates to presets
Add "crop" field for landuse=farm/farmland/farmyard (for #2149)
  Add "trees" field for landuse=orchard
  Add landuse=landfill
  Add the hoops=* field to the basketball preset (for #1984)
  Add amenity=nightclub
  Add smoking field for many presets under amenity, building, office, tourism (for #1990)
2014-03-17 23:10:34 -04:00
John Firebaugh
e382943f0d Use .low-zoom class rather than hard-coding z16 2013-11-01 11:17:49 -07:00
SJohnson
0790cf7423 Added the ability to load points from gpx files and display on the map 2013-09-25 14:42:58 -07:00
Tom MacWright
03550ff6ff Brighter color for GPX paths. Fixes #1626 2013-09-17 15:53:28 -04:00
John Firebaugh
1cdc4bc79d Remove duplicate style 2013-08-24 09:53:51 -07:00
John Firebaugh
c497644e87 Don't hide midpoints when dragging node
For some reason this invalidates and repaints a large
portion of the page.
2013-06-20 09:41:27 -07:00
John Firebaugh
e339bd5df3 Fix tile overzooming 2013-06-12 16:49:50 -07:00
John Firebaugh
bd2c7ba756 Render bridge casing for bridge=viaduct, etc.
Fixes #1500.
2013-05-20 16:49:55 -07:00
John Firebaugh
de70b7b169 Remove #map:active cursor
This causes a style recalculation that takes time linear
or worse in the number of rendered elements. Upwards of
20s in dense areas.
2013-05-20 12:05:31 -07:00
John Firebaugh
16e05fd657 Revert "Don't use :active pseudo-class"
Now seeing this cause poor pan performance.

This reverts commit 9fafd6b56a.
2013-05-13 14:16:14 -07:00
John Firebaugh
1a6a9b5b9e Better way of doing hover suppression 2013-05-13 12:53:03 -07:00
John Firebaugh
fd1573fa08 Abandon iD.svg.MemberClasses
Substantial performance hit for something that's barely used.
2013-05-13 12:46:01 -07:00
John Firebaugh
9fafd6b56a Don't use :active pseudo-class
It's slow (500 ms recalculate style vs 1ms).
2013-05-13 09:49:29 -07:00
John Firebaugh
feed896baa Remove unnecessary pseudo-selector
This was causing a hugely expensive style recalculation
on map mouseover/exit.
2013-05-13 09:49:18 -07:00
John Firebaugh
70e5411114 Optimize vertex rendering
* Cache icon
* Append rather than insert
* Do fewer things on update
* Don't create a fill unless needed
* Don't apply tag and member classes (never used)
* Drop down to raw setAttribute (d3 is slow :trollface:)
2013-05-13 09:37:48 -07:00
John Firebaugh
a53d5cbb44 Optimize label hover
Add entity IDs to the element class list, so that specific
elements can be selected by ID rather than needing `filter`.
2013-05-12 11:47:48 -07:00
Martin Raifer
a9dbd277c5 use fill:none instead of fill:transparent
`transparent` is not a valid [svg](http://www.w3.org/TR/SVG/painting.html#SpecifyingPaint) [color](http://www.w3.org/TR/SVG/types.html#DataTypeColor). Use `none` instead.
2013-05-08 17:15:19 +03:00
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