Quincy Morgan
231e2c71a1
Add unsearchable preset for demolished:building=yes ( close #7098 )
...
Render features with a status prefix in the provisional styles (e.g. dashed outline)
2019-12-09 11:13:42 -05:00
Bryan Housel
baca525117
User lighter green fill for golf=green
...
(closes #7101 )
This also adds fill styles for the other light-green things like cemetaries
vineyards, etc.. For some reason they didn't have fill styles before so only
the strokes were being styled light green.
2019-12-09 10:10:03 -05:00
Quincy Morgan
db300d1071
Add tooltips to mapillary map features layer icons ( close #7079 )
2019-12-05 11:52:12 -05:00
Quincy Morgan
bc0d83b5cd
Apply label baseline hack to Firefox 70+ ( close #7044 )
2019-11-13 15:36:22 -05:00
Bryan Housel
d986d1b68d
Use native Promises and drop "q" dependency, update streetside.js to es6
2019-11-08 16:24:41 -05:00
Quincy Morgan
3f35a35dd1
Remove unused imperial.json and drive-left.json data files
2019-11-08 19:28:02 +01:00
Quincy Morgan
271a4cbac7
Update rbush to 3.0.1 ( close #6359 )
2019-11-08 18:17:17 +01:00
Quincy Morgan
c5e1c0d596
Fix lint warning
2019-10-11 14:02:19 +02:00
Quincy Morgan
92116f198a
Only show edited vertices as needed ( close #6934 )
2019-10-11 14:01:07 +02:00
Quincy Morgan
82acd82a29
Don't make edited vertex targets larger
...
Render vertex and point change highlight with some opacity
2019-10-10 18:58:39 +02:00
Quincy Morgan
18a2c6c320
Fix issue where false edited segment indicators could appear
2019-10-10 18:28:43 +02:00
Quincy Morgan
c7186e2ee6
Replace usage of lodash isEqual (re: #6843 )
2019-10-08 20:42:58 +02:00
Quincy Morgan
7d31c76546
Unify visual diff styles for lines and areas (re: #6843 )
...
Render tag-only diffs in yellow instead of translucent orange
Don't use target colors for vertex diff styling
2019-10-08 20:25:09 +02:00
Quincy Morgan
2924d4619a
Show visual diff for standalone points (re: #6843 )
2019-10-07 16:33:35 +02:00
Quincy Morgan
f3e7bd9034
Render line and vertex visual diff on shadow instead of above everything (re: #6843 )
...
Differentiate added lines and vertices from merely changed ones
2019-10-07 16:13:35 +02:00
Quincy Morgan
909079e454
Replace uses of lodash omit (re: #6843 )
...
Fix lint warnings
2019-10-07 11:43:40 +02:00
Quincy Morgan
c031f2dd33
Merge branch '2.15' into 215_highlight_edits
...
# Conflicts:
# modules/svg/areas.js
2019-10-07 10:49:52 +02:00
Huon Wilson
de2f052eb9
Change cliff direction marker to dark grey to match the line
...
Cliffs had their colour changed in 5f9bea67d , but the directional
arrow remained green.
Fixes #6918
2019-10-07 13:11:40 +11:00
Quincy Morgan
2ccdc438f4
Render area fill patterns in preset icons ( close #6900 )
2019-09-30 12:27:33 +02:00
Benjamin Clark
ad5025de3e
Add support for area diffs.
2019-09-11 14:14:06 -04:00
Benjamin Clark
a0f85967b0
highlight edits now differentiates between tag edits and geometry edits for vertices/lines.
2019-09-11 13:02:12 -04:00
Benjamin Clark
a4dc7518c4
Add a hotkey to highlight edited ways.
2019-09-11 13:02:12 -04:00
Matias Volpe
8e616d7384
feat: add Mapillary Map Features layer
2019-08-22 15:16:31 -03:00
Quincy Morgan
1bce70e3f5
Update directional arrow styling when switching between directional presets ( close #6032 )
2019-07-17 13:55:56 -04:00
Quincy Morgan
3d9bcc8234
Add directional arrows to waterway=weir rendered as lines ( close #6615 )
2019-07-03 15:46:23 -04:00
Bryan Housel
6eb73e7de6
Don't adjust map labels for wikidata tagged items
2019-05-20 10:55:23 -04:00
Bryan Housel
344aec206c
Support special styling for wikidata-tagged features
2019-05-18 23:57:23 -04:00
Bryan Housel
bdb454e1b3
Remove utilCallWhenIdle, use requestIdleCallback/cancelIdleCallback
...
Places where a reset or connection switch would be problematic,
we can now cancel the callbacks.
2019-05-16 22:28:56 -04:00
Quincy Morgan
fa0c05f8f7
Don't render deprecated basin and reservoir features the same as their modern counterparts
2019-05-16 12:35:19 -04:00
Quincy Morgan
dcd9876fdf
Use thinner partial fills for buildings parts and indoor features (re: #6204 )
2019-05-08 15:55:59 -04:00
Bryan Housel
fceb1a86f7
Merge pull request #6245 from openstreetmap/d3-v5
...
d3 v5
2019-04-29 15:46:08 -04:00
Bryan Housel
e981cd5dd5
Switch mapillary and openstreetcam tests to work async
...
- can't reliably use sinon.spy to tell whether a thing has been called,
so we listen for events instead and check server.requests()
- make sure to request the next page before dispatching `loadedImages` so
we can `server.respond()` to the request in the event handler if we want to
- also moves `localeDateString` in the openstreetcam service from parsing
code to display code, because it's very slow (we can just do this for the
images we look at, instead of all images we fetch)
2019-04-29 15:31:08 -04:00
Quincy Morgan
d01bb78707
Reduce circular dependencies caused by importing from indexes, the location of the validation models, and the location of areaKeys ( close #6237 )
2019-04-24 13:45:59 -07:00
Bryan Housel
e6bc9d9e8f
Swap out d3-request, swap in d3-fetch
2019-04-24 16:25:25 -04:00
Bryan Housel
7dce4bb161
Avoid asking DOM if layers are classed disabled in map.editable
...
`map.editable` is hot code because it's called frequently by the `isHiddenX`
tests in `features.js`. It's much more efficient to just ask the osm layer
whether it is enabled, than to use D3 to find that layer in the DOM and check
whether it's classed `disabled`
2019-04-22 22:12:42 -04:00
Bryan Housel
51c1088c1b
Merge branch 'master' into validation_and_change_perf
2019-04-19 15:18:23 -04:00
Quincy Morgan
2967d2d020
Add support for icons from the noun project ( close #5691 )
2019-04-16 18:06:05 -07:00
Bryan Housel
95a1bbaf97
Add downloaded debug flag and visualization for tiles downloaded
2019-04-08 22:06:47 -04:00
Bryan Housel
d5abe468b9
Remove rest of the lodash iterators: map, reduce, forEach
...
(re: #6087 )
2019-03-29 15:14:21 -04:00
Bryan Housel
d18b951c67
Remove lodash flatten and flattenDeep
...
(re: #6087 )
2019-03-28 10:04:46 -04:00
Bryan Housel
3d80e6505f
Remove lodash chunk, groupBy
...
(re: #6087 )
2019-03-27 16:18:41 -04:00
Bryan Housel
0edd10001e
Removing more lodash: isEmpty, isNumber, some map/reduce/forEach
...
(re: #6087 )
2019-03-27 13:32:35 -04:00
Bryan Housel
5b4aa529de
Replace lodash uniq
...
(re: 6087)
2019-03-27 02:43:25 -04:00
Bryan Housel
5e1ff74199
Replace lodash difference, intersects, union
...
(re: 6087)
2019-03-27 01:22:11 -04:00
Bryan Housel
5280d07bad
Remove lodash reject (re: #6087 )
2019-03-23 12:51:13 -04:00
Bryan Housel
76e0d13729
Remove lodash every and filter
...
(re: #6087 )
2019-03-23 01:22:56 -04:00
Bryan Housel
7a6c63fcc5
Remove lodash extend (re: #6087 )
2019-03-23 00:38:39 -04:00
Bryan Housel
7e6f68a1b2
Remove lodash some
...
(re: #6087 )
2019-03-23 00:07:52 -04:00
Bryan Housel
ff4f8f005f
Remove lodash find and findIndex
...
(re: #6087 )
2019-03-22 17:31:41 -04:00
Bryan Housel
11bfeaabfc
Add browser-polyfills, remove lodash assign, compact, values
...
(re: #6087 )
2019-03-22 17:14:41 -04:00