Commit Graph

9218 Commits

Author SHA1 Message Date
Bryan Housel
0be1705a0d Disable note and streetview interactivity except in browse/select modes
(closes #5202)
2018-08-06 14:27:32 -04:00
Bryan Housel
499b2e58af Support building tags on gasometers and silos 2018-08-06 13:47:07 -04:00
Bryan Housel
167d54922d Merge pull request #5195 from manfredbrandl/bunker_silo
add man_made=bunker_silo, closes #5157
2018-08-06 13:37:43 -04:00
Bryan Housel
dadd05af8b Add layer field to a few more presets
(closes #5204)

- `building=roof`
- `power=line`
- `power=minor_line`
- `man_made=pipeline`
2018-08-05 23:51:27 -04:00
Bryan Housel
184e37253c Allow tourism=artwork on line geometry
And when used on a line, silence `tag_suggests_area` warning
(closes #5206)
2018-08-05 23:37:06 -04:00
Bryan Housel
2e6799ac60 Don't reverse cardinal direction roles on relations anymore
re: https://github.com/openstreetmap/iD/pull/2004#issuecomment-407995998

Per thread https://twitter.com/bhousel/status/1025805098063208448
JOSM has stopped doing this too
2018-08-04 21:55:14 -04:00
Bryan Housel
490d4d39f3 Merge pull request #5198 from jguthrie100/convert_input_to_float
Allow Float values in height input box
2018-08-03 07:24:50 -04:00
J Guthrie
c1bdcf24aa Changed parseInt to parseFloat 2018-08-03 01:33:29 +01:00
Bryan Housel
8df5d489e1 Merge pull request #5196 from district10/fix-shellbang
Fix shellbang
2018-08-01 06:37:26 -04:00
Tang Zhixiong
fdb24e3a5d Fix shellbang 2018-08-01 16:43:06 +08:00
Manfred Brandl
b66f95ffbc add man_made=bunker_silo, closes #5157 2018-08-01 01:15:25 +02:00
Bryan Housel
8fc665fd24 Merge pull request #5192 from vershwal/d3_request_response
loading bufferdata using d3_request
2018-07-29 10:57:58 +02:00
vershwal
1eea46f215 loading bufferdata using d3_request 2018-07-29 11:56:09 +05:30
Bryan Housel
5c7784fb0b Fix note status string to be translateable
(closes #5189)
2018-07-28 19:27:31 +02:00
Bryan Housel
4e2f2fad8d Remove pannellum streetside files from dist/
We can bundle them just like mapillary-js, which we install from npm
2018-07-27 23:03:50 +02:00
Bryan Housel
ee05e47c95 Add a linebreak 2018-07-26 01:42:43 -04:00
Bryan Housel
0a0de59700 Better regex for true version numbers 2018-07-26 01:26:22 -04:00
Bryan Housel
c1978c0713 v2.10.0 2018-07-26 01:12:48 -04:00
Bryan Housel
5f9cad4765 npm run translations 2018-07-26 01:11:17 -04:00
Bryan Housel
df85a6ff6c npm run imagery 2018-07-26 01:09:39 -04:00
greenkeeper[bot]
897a6a286c chore(package): update osm-community-index to version 0.4.6 2018-07-26 01:04:22 -04:00
Bryan Housel
39fc9002b1 v2.10.0 CHANGELOG 2018-07-26 00:46:48 -04:00
Bryan Housel
c63541379c Add building fields for pavilions and shelters in walkthrough
(re: #5084)
2018-07-25 21:15:03 -04:00
Bryan Housel
11076bf0c5 Calculate correct scale in tiler() for non-256px tile sizes 2018-07-25 15:11:43 -04:00
Bryan Housel
395be29d38 Set 'mtbmap-no' as an imagery source that uses 512px tiles
(closes #5179)
2018-07-25 10:25:59 -04:00
Bryan Housel
f74d21557c Force redraws after moving a note or cancelling a note
similar to 95ea0dbbc, there is no history change event to force a redraw
2018-07-24 19:34:01 -04:00
Bryan Housel
95ea0dbbc9 Force a redraw after adding a note
Because notes dont exist in the history or graph, there is no history change
event to trigger a redraw, as there would be when adding points and other things.
2018-07-24 19:14:34 -04:00
Bryan Housel
69ebb97815 Simplify drag_note mode 2018-07-24 17:17:24 -04:00
Bryan Housel
5d9fc33e24 Simplify osm.js postNoteUpload/update 2018-07-24 16:22:37 -04:00
Bryan Housel
b95aa08900 Add cancel button, simplify button code 2018-07-24 16:22:21 -04:00
Bryan Housel
63614d5909 formatting 2018-07-24 15:14:26 -04:00
Bryan Housel
0552a90a9f Remove category field - it's not an osm tag 2018-07-24 14:58:04 -04:00
Bryan Housel
a406da953d Remove actionMoveNote
Notes aren't stored in the graph, so moving them isn't an action
2018-07-24 14:26:25 -04:00
Bryan Housel
89ad643977 Let new note generate its own id, instead of using -1
Also stringify the note id (because existing notes from OSM are this way)
Also make sure comments is initialized as an Array not an Object
Also clarify some of the tests
2018-07-24 14:11:08 -04:00
Bryan Housel
640596340e Improve the add-note icon in help, minor changes to help text 2018-07-24 12:40:16 -04:00
Bryan Housel
45f01a638f Mention Bing Streetside in help text 2018-07-24 12:40:16 -04:00
Thomas Hervey
3abca299b5 cleaned unused vars 2018-07-24 09:17:12 -04:00
Bryan Housel
0334e7b353 Visibility stuff
- Draw ellipse below note shadow
- Use brighter color for new note
- Use thicker stroke for note shadow (same width as point)
2018-07-24 00:16:37 -04:00
Bryan Housel
6dcb879990 Remove notes and deselect any selected note when disabling notes layer 2018-07-23 23:39:10 -04:00
Bryan Housel
a3dc0e8213 Shrink annotations, add margin between note header and comments 2018-07-23 23:20:34 -04:00
Bryan Housel
eca326a1dd Improve the look of the Add Note button icon 2018-07-23 22:50:19 -04:00
Bryan Housel
46dc44b35b Make the mode buttons dynamic
- show/hide the note button when the notes layer is enabled/disabled
- enable/disable the note button based on notesEditable
2018-07-23 22:21:47 -04:00
Bryan Housel
78fc2f7c27 No longer need to pass dimension to loadTiles 2018-07-23 21:07:28 -04:00
Thomas Hervey
7312d7024b added notes to help ui 2018-07-23 18:26:43 -04:00
Thomas Hervey
e1cb25d824 merge from 'master' 2018-07-23 18:24:02 -04:00
Thomas Hervey
26f045b16c added/updated service/osm, osm/note, mode/add_note tests 2018-07-23 16:17:48 -04:00
Thomas Hervey
e23ef4ba4a redraw on note drag. TODO: change dispatch call 2018-07-23 15:09:25 -04:00
Bryan Housel
31c39287bf Restore the viewfields 2018-07-23 14:44:33 -04:00
Bryan Housel
d11b1e6192 Merge branch 'feat-mapillary-bearing' of https://github.com/mapillary/iD into mapillary-feat-mapillary-bearing 2018-07-23 14:35:48 -04:00
Bryan Housel
119792fd22 Cleanups to Detach Node feature
This commit includes a bunch of minor things:
- change keyboard shortcut to 'E' to not conflict with anything
- move `disabled` check from operation into action and simplify
- use `actionMoveNode` to place the detached node at the mouse cursor
- disable the operation if the node is connected to hidden features
- lots of code simplification
- make the icon more centered
2018-07-23 13:36:34 -04:00