Commit Graph

9139 Commits

Author SHA1 Message Date
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
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
Bryan Housel c0b77d8226 remove unneeded dimensions argument (projection clipExtent has it) 2018-07-21 21:44:14 -04:00
Bryan Housel cd3d576276 rename geoTile -> tiler 2018-07-21 21:27:44 -04:00
Bryan Housel 292347b28a Use utilTiler's Null Island filter for overlay sources 2018-07-21 18:53:19 -04:00
Bryan Housel f6e41a1cb8 Remove unused zoomDelta parameter 2018-07-21 18:52:54 -04:00
Bryan Housel 02713e48fb Move cache management out of tiler, it's responsibilty of service
Also remove some unused code and eslint warnings
2018-07-21 11:11:39 -04:00
Bryan Housel ff64455370 rename the file too 2018-07-21 10:12:11 -04:00
Bryan Housel d1fe81b905 rename utilTile -> utilTiler 2018-07-21 10:07:56 -04:00
Bryan Housel e4d829ec06 Have the tiler return filtered results - re: skipNullIsland 2018-07-21 10:03:40 -04:00
Bryan Housel bd81f7fdbe Add aeroway=aerodrome to Military Airfield preset, adjust terms
(closes #5164)
2018-07-20 22:34:00 -04:00
Bryan Housel 3f10b15ee8 Merge pull request #5148 from openstreetmap/refactor-loadTiles
moved getTiles and filtering to utils
2018-07-19 21:24:46 -04:00
Thomas Hervey 386d375b7a fix excessive note tiling and network request 2018-07-19 10:51:39 -04:00
Matias Volpe c000da07af Leave directional indicator only for current image 2018-07-19 09:49:00 -03:00
Matias Volpe aac394a487 Update directional indicator based off of current bearing in Mapillary JS 2018-07-19 08:45:28 -03:00
Bryan Housel 3fe31cc456 Make sure railway bridges with a service tag render with dark casing
(closes #5159)
2018-07-18 23:09:20 -04:00
Bryan Housel cfa387607c Upgrade to Rollup ~0.63.2
(closes #5098)
2018-07-18 17:08:44 -04:00
Bryan Housel 1b7493081e Show linkified text in notes, hide scrollbars when hovering
(closes #5151)
2018-07-18 16:16:34 -04:00
Thomas Hervey c563abaf7a pass dimensions to tile 2018-07-18 15:49:04 -04:00
Thomas Hervey 60f66b73e9 fixed missing declarations. TODO: fix tests 2018-07-18 15:16:52 -04:00
Thomas Hervey 5bf3f7ed3e Merge branch 'master' into refactor-loadTiles 2018-07-18 07:26:56 -04:00
Bryan Housel ae4c742851 Merge pull request #5155 from openstreetmap/fix-note-date
fix browser-specific Date() issues in notes
2018-07-17 22:43:31 -04:00
Bryan Housel 7737c571aa Shrink the photo viewer if the map has been resized to be smaller 2018-07-17 17:47:05 -04:00
Bryan Housel e221dcae58 Dispatch new dimensions with photoview resize, resize all layers
-Adds ability to resize OpenStreetCam and Bing Streetside layers
-Also slightly increases the width of the resize handles
-Also limits max resize so it won't go larger than the map
2018-07-17 17:06:59 -04:00
Thomas Hervey b0ba681538 fix browser-specific Date() issues in notes 2018-07-17 16:07:47 -04:00
Bryan Housel b9a6996048 Merge branch 'feat-photoviewer-resize' of https://github.com/mapillary/iD into mapillary-feat-photoviewer-resize 2018-07-17 12:38:52 -04:00
Bryan Housel 4c9ef45448 Merge pull request #5149 from vershwal/mvt_test
Some mvt tests.
2018-07-17 01:15:28 -04:00
Bryan Housel d205267f48 Adjust whitespace padding around avatar images in comments 2018-07-17 01:09:29 -04:00
Bryan Housel fa6e195c2d Add user info, require authentication to edit a note 2018-07-17 00:55:43 -04:00
Bryan Housel 73d0f30453 Merge branch 'notes' 2018-07-16 16:59:35 -04:00
Bryan Housel 694cc60893 Add thread dots to note header icon, disable comments on closed nodes 2018-07-16 16:53:45 -04:00
Bryan Housel 47de7b304f Make sure note report link doesn't show on hover 2018-07-16 16:03:00 -04:00
Bryan Housel 70f87632c7 Cleaner note icon rendering
Before: We drew 2 fontawesome comment icons, on on top of the other
After: Moved icon into iD spritesheet and gave it an actual `stroke` property that can be styled
2018-07-16 13:18:38 -04:00
vershwal 213fa3706d Created new file for pbf test in test/data. 2018-07-16 22:10:59 +05:30
Thomas Hervey 33de399bac fixed note-report display 2018-07-16 11:28:51 -04:00
Thomas Hervey 7ad765d408 added simple tests for loading and retrieving notes 2018-07-16 10:54:40 -04:00
Bryan Housel edc4f86826 Merge pull request #5137 from mapillary/feat-show-mjs-attribution
Show MJS photo attribution
2018-07-15 23:13:28 -04:00
vershwal 0b32f4c4ee Some mvt tests. 2018-07-15 22:20:43 +05:30
Thomas Hervey d4b1622667 moved getTiles and filtering to utils 2018-07-14 19:15:25 -04:00
Bryan Housel 0d8792d4de npm run build 2018-07-14 00:38:48 -04:00
Bryan Housel 46ece7593a Merge pull request #5142 from AndreasHae/passenger-information-display
Add passenger information display to bus and tram presets
2018-07-14 00:35:31 -04:00
Andreas Hässler d9f9f6e855 Add passenger information display preset 2018-07-13 23:15:43 +02:00
Thomas Hervey 7fb42ac9d6 added note reporting and margin to save buttons 2018-07-13 17:09:51 -04:00