Commit Graph

9204 Commits

Author SHA1 Message Date
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
Bryan Housel
94b0affe8c Merge branch '4320' of https://github.com/Psigio/iD into Psigio-4320 2018-07-23 08:44:19 -04:00
Jon D
90bc0b8537 Update to prevent detachment of node when either a via or
location_hint role in a turn restriction.
Update to move any other relation to new node.
2018-07-22 19:35:29 +01:00
Bryan Housel
ac27cbd67d Add support for 512px Mapbox Satellite tiles
The tiler and projection are still not aware of the 512px size.
This results in fetching 512px images but placing them in the 256px slippy map
and scalling them down.

(This is dumb but at least they look nicer than before)
2018-07-22 02:50:49 -04:00
Bryan Housel
52dc6c280f Preparation for non-256px tileSizes in sources 2018-07-22 01:43:56 -04:00
Bryan Housel
2fa593421f Rename scaleExtent to zoomExtent, slightly simplify getTiles() 2018-07-22 01:15:44 -04:00
Thomas Hervey
27922e81b8 updated shortcut menu 2018-07-22 00:16:17 -04:00
Thomas Hervey
4038c8200e added note section to help docs 2018-07-22 00:05:15 -04:00
Thomas Hervey
00bb733736 changed note annotation icons 2018-07-21 22:49:12 -04:00
Bryan Housel
8811933009 Split up loadTiles and loadNotes code
Code is similar but different enough that I'd rather have 2 separate
functions rather than a single function with a bunch of ifs
2018-07-21 22:31:04 -04:00
Bryan Housel
7be9439c35 Use geoScaleToZoom to calculate zoom in Mapillary, OpenStreetCam 2018-07-21 21:59:35 -04:00
Thomas Hervey
38b4e462c6 merged from 'new-note-categories' 2018-07-21 21:46:07 -04:00
Thomas Hervey
776f1899b3 merged from 'master' 2018-07-21 21:45:08 -04:00
Bryan Housel
c0b77d8226 remove unneeded dimensions argument (projection clipExtent has it) 2018-07-21 21:44:14 -04:00
Thomas Hervey
baad5f0cc5 added tests for osm/note 2018-07-21 21:44:07 -04:00