Commit Graph

328 Commits

Author SHA1 Message Date
Thomas Hervey
75cff00a2a displaying keep right (currently as notes) 2018-12-19 13:18:37 -05:00
Thomas Hervey
b96965568f WIP: added schemas for errors and warnings 2018-12-19 13:13:30 -05:00
Thomas Hervey
b3cffd7833 added simple keepRight button under photoItems 2018-12-19 13:12:49 -05:00
Max Grossman
399e7781c1 remove dispatched changes and re-order layers
ref #5587
2018-12-19 11:54:39 -05:00
Max Grossman
3755951009 remove unused vars
ref #5587
2018-12-19 11:24:26 -05:00
Max Grossman
83c0843e57 just call accuracy function when setting r attr
ref #5587
2018-12-19 11:23:19 -05:00
Max Grossman
b9ddfca152 implement point/puck geolocation
ref #5587
2018-12-19 11:06:41 -05:00
Max Grossman
b7f0d86da9 working on geolocate layer
ref #5587
2018-12-18 14:19:36 -05:00
Max Grossman
02261c96e0 adding svg layer...
ref #5587
2018-12-18 12:01:22 -05:00
RudyTheDev
743be30a76 Use water fill pattern for fountain area 2018-12-15 16:33:06 +02:00
RudyTheDev
89a128f14c Allow directly specified fill pattern for entire tag (not using for anything as of yet) 2018-12-15 15:58:39 +02:00
RudyTheDev
b92592b6b4 Add fill pattern for reservoir 2018-12-15 15:32:48 +02:00
Bryan Housel
e5aa8a7058 Simplify setPattern 2018-12-14 12:57:28 -05:00
RudyTheDev
34cdb129c6 Add grass surface rendering for traffic calming areas 2018-12-10 17:41:53 +02:00
Bryan Housel
d177ab7fcf Shrink the directional way markers slightly
(closes #5533)
2018-11-30 01:56:33 -05:00
Huon Wilson
dd0be84da4 Add one-sided triangular markers to ways with sides (e.g. natural=cliff).
This generalizes the oneway arrow logic for adding SVG markers along a
line. Using that functionality, certain tags get arrows on their
right-hand side, indicating which side is "inside", e.g. the
right-side of a cliff is the lower side.

The list of tags considered to be sided (unless there's a
two_sided=yes tag) is:

- natural=cliff
- natural=coastline
- barrier=retaining_wall
- barrier=kerb
- barrier=guard_rail
- barrier=city_wall
- man_made=embankment

The triangles attempt to be reminiscent of the triangles used for
rendering cliffs on OSM (and elsewhere). The different tags get
different renderings (e.g. colors that match the main way, and
different spacings). In addition, natural=coastline is special-cased
to have blue markers (despite having a green way), to emphasise that
the "inside" of a coastline is the water.

Fixes https://github.com/openstreetmap/iD/issues/1475.
2018-11-28 01:45:50 +11:00
RudyTheDev
ff8723e194 Add water waves fill pattern and pond-specific pattern 2018-11-18 22:12:40 +02:00
RudyTheDev
b18dfb4030 Add landfill fill pattern, farmyard pattern (and remove farm pattern), implement vineyard fill pattern 2018-11-18 21:39:09 +02:00
RudyTheDev
46f762c0a6 Add quarry fill pattern 2018-11-18 20:52:33 +02:00
RudyTheDev
f41bb055f2 Add fill patterns for cemetery most common religions 2018-11-18 20:41:58 +02:00
RudyTheDev
3e2eaa6635 Allow fill pattern definitions to have short-hand syntax when there's only one pattern "rule" 2018-11-16 13:34:23 +02:00
RudyTheDev
1e51d5ff23 Add new wetland fill patterns; clean up pattern selection code 2018-11-16 12:51:31 +02:00
RudyTheDev
99ace5c791 Expand fill pattern definitions with optional tag-value pair requirement; add forest/wood broadleaved, needleleaved and leafless patterns using the new rules 2018-11-16 02:22:18 +02:00
RudyTheDev
1f6828a24f Further change fill pattern definitions to allow iterating over "rules" 2018-11-16 01:37:58 +02:00
RudyTheDev
b22dfb7ebb Change the fill pattern definition to have strict tag-value pairs 2018-11-16 00:14:54 +02:00
Bryan Housel
4e8cb9e8b0 remove duplicate scrub pattern 2018-11-15 14:27:39 -05:00
RudyTheDev
1106e593e4 Merge branch 'master' into new-stylings 2018-11-15 18:56:34 +02:00
RudyTheDev
2e9d1209e6 Add a new pattern "grass" for grass/meadow instead of dots 2018-11-15 17:45:14 +02:00
RudyTheDev
473cd60986 Add a new pattern "forest" for forest/wood; use dots for grass; use bushes (wetlands) for scrub 2018-11-15 16:40:40 +02:00
Bryan Housel
1731ce4651 Partition viewport by tiles, not by pixels
(closes #4297)

The previous approach split the viewport up by pixels, but each time the view
moved, the pixels would change, so it was not a stable selection of the
streetview data, and the markers would fight for position as the user moved
around.

This approach uses utilTiler to partition the view into stable tiles.
2018-11-14 14:48:42 -05:00
Bryan Housel
9cd40f22be When there is no activeID, we can memoize svgSegmentWay 2018-11-12 12:17:12 -05:00
Bryan Housel
cc71f924f3 Fix stacking order in turn restriction editor 2018-11-09 22:54:07 -05:00
Bryan Housel
3bc841e95b Adjust layer ordering to draw touch targets above data layers 2018-11-09 21:48:45 -05:00
Bryan Housel
3e03102731 Simplify unpaved tag class logic, add tests
(re: #5422)
2018-10-31 16:13:03 -04:00
Bryan Housel
b79f87f511 Merge pull request #5422 from thefifthisa/style-unpaved-taxiway
Style unpaved Taxiway
2018-10-31 15:43:57 -04:00
hikemaniac
fa17e7fda7 Merge branch 'master' into summer_toboggan 2018-10-28 19:51:51 +01:00
hikemaniac
a36ebf3357 Added preset and rendering for attraction=summer_toboggan 2018-10-28 18:17:30 +01:00
thefifthisa
1c7079ee35 style unpaved taxiway 2018-10-21 00:20:02 -04:00
Quincy Morgan
38bfeb852d Adds custom CSS styling for ferry routes
Closes #5414
2018-10-18 18:31:43 -07:00
Bryan Housel
ac341cdf5a Usability changes for parking lots
- Rename "Car Parking" to "Parking Lot"
- Rename "Multilevel Car Parking" to "Multilevel Parking Garage"
- Add red styling for Multilevel Parking Garage preset icon
2018-10-12 16:50:50 -04:00
Quincy Morgan
3586451392 Adds custom CSS to man_made=pipeline features
Adds `location` as a secondary tag class
Adds the `tunnel` styling to lines tagged `location=underground`
2018-10-09 18:44:49 -07:00
James Kingdom
40d54f02fc Change the filename to lowercase before matching it
(closes #5266)
2018-08-31 11:33:05 -04:00
Bryan Housel
8c8054b785 Better check for file extension, default to .gpx if gpx= in url
(closes #5253)
2018-08-29 00:43:42 -04:00
Bryan Housel
6f969b3fb4 Strip off querystring and hash from vector tile source string
These usually contain access tokens and other information that
really doesn't add anything, and needn't appear in the imagery_used
changeset tag
2018-08-25 13:59:26 -04:00
Bryan Housel
c28c3ba57b Test vector tile templates against OSM's imagery blacklist 2018-08-25 13:41:43 -04:00
Bryan Housel
cc938698e8 Add ability to select custom data 2018-08-25 11:14:04 -04:00
Bryan Housel
a9aca707b6 Support hovering on data features 2018-08-25 00:04:52 -04:00
Bryan Housel
7714e88f3d Support data area filling (full/partial/wireframe), shadow strokes 2018-08-24 14:07:00 -04:00
Bryan Housel
48e233e4a3 Move some css rules around, add hash and geometry.type to css classlist 2018-08-24 10:39:03 -04:00
Bryan Housel
b0f86cdf31 Merge matching polygons across tile boundaries 2018-08-23 22:03:51 -04:00