Commit Graph

140 Commits

Author SHA1 Message Date
Bryan Housel d859c1ca04 Try to preserve the viewer rotation when staying on the same sequence 2018-06-13 15:21:47 -04:00
Bryan Housel e493bb4c64 Reset marker for panoramic/viewfield when switching steetview layer 2018-06-13 15:00:05 -04:00
Bryan Housel 23b6b15e64 Assemble sequences, adjust styles to better distinguish from osc 2018-06-13 13:03:11 -04:00
Bryan Housel 64732bf2f6 Begin adding sequences 2018-06-13 02:26:38 -04:00
Bryan Housel 813f8d096d Cleanup attribution CSS.. fix viewer northOffset / yaw 2018-06-12 15:31:49 -04:00
Bryan Housel aeddddca15 Start viewer with correct compass yaw, adjust viewfield as user rotates 2018-06-12 14:18:20 -04:00
Bryan Housel 9915707503 Update viewfield rotation when adjusting viewer 2018-06-12 01:15:41 -04:00
Bryan Housel 9cfe6dd357 Fix highlighted and selected styles (_union needed array arguments) 2018-06-12 00:45:42 -04:00
Bryan Housel d24790f17a Merge branch 'master' into jharpster-streetside 2018-06-11 23:51:23 -04:00
Bryan Housel f1ed0b3c68 skip duplicate bubbles 2018-06-11 23:34:34 -04:00
Bryan Housel e149c6be8e Remove old Mapillary signs code and assets
(closes #4145)
2018-06-07 01:35:12 -04:00
Bryan Housel b7997d3c64 Begin replacing mapillary signs html with svg spritesheet
(re: #4145)
2018-06-06 23:16:49 -04:00
Bryan Housel db06bdfa22 Reuse pannellum viewer instead of creating a new one with each click 2018-05-27 02:16:15 -04:00
Bryan Housel 48ea245e54 Localize "report a problem" message 2018-05-26 22:53:01 -04:00
Bryan Housel c621d5ecaf Fix eslint issues, remove console.logs 2018-05-25 17:08:17 -04:00
Bryan Housel 91dbd6c9c4 Merge branch 'streetside' of https://github.com/jharpster/iD into jharpster-streetside
(also cleanup whitespace and lint)
2018-05-25 16:52:28 -04:00
LorenMueller 7addf8678d Cleanup and commenting 2018-05-22 15:36:27 -07:00
LorenMueller 10f166001b fixed tile size at zoom levels for bubbles call 2018-05-16 15:12:17 -07:00
LorenMueller 5926091341 Feature updates 2018-05-15 15:18:40 -07:00
LorenMueller 5c9d508114 package.json for pannellum dependency and dist: script; streetside files 2018-05-08 14:06:41 -07:00
Shawna Paradee 40aafc2713 add connect to viewer and add footer 2018-05-01 09:51:21 -07:00
Shawna Paradee 2b50d36f65 adding points for streetside images 2018-03-20 13:05:33 -07:00
Shawna Paradee 427dfc1b15 adding streetside points 2018-03-20 12:50:31 -07:00
Jordane Pelloux-Prayer ca493ec47c fixes #4804: do not stop mapillary autoplaying if _mlyViewer is not initialized 2018-02-16 13:01:32 +01:00
Bryan Housel f54d201eb2 Stop sequence from playing when the Mapillary viewer is hidden
(closes #4707)
2018-01-26 16:59:32 -05:00
Bryan Housel db2d165a17 Support fallback mode for Mapillary when WebGL disabled
(closes #3804)
2018-01-26 16:27:48 -05:00
Bryan Housel 9ebf3b11a4 Don't initialize Mapillary viewer with a key
(closes #4536)

This avoids binding the viewer to an image key that might not be
fully processed, which gets the viewer into a bad state.

Instead, we initialize the viewer with a `null` image key and
issue `moveToKey` immediately.

This commit also adds exception handling for moveToKey.
2018-01-26 15:45:53 -05:00
Bryan Housel ac86869b4a Add conflict checking progress, guard code for user authentication 2018-01-05 18:11:49 -05:00
Bryan Housel a63c4a72fe Improvements to save flow
- Attempt fast save first, only perform conflict resolution if necessary (re: #3056)
- Block reentry of save, and dont keep focus on save button (closes #4641)
- Refactor modeSave() for code clarity (avoid shared state in closure variables)
2018-01-05 15:11:44 -05:00
Bryan Housel 437893ebb8 Don't reenter putChangeset, allow reuse of open changeset id
We are going to start trying an opportunistic save, then only
start the conflict resolution stuff if the server returns a 409.
Reusing an already open changeset makes sense in this situation.
2018-01-04 23:27:00 -05:00
Bryan Housel 2e2b037e36 Move a bunch of commonly used vector and projection math functions into geo
- geoVecAdd
- geoVecSubtract
- geoVecScale
- geoZoomToScale
- geoScaleToZoom
2017-12-18 15:05:42 -05:00
Bryan Housel 18ab596f58 Improve int'l date/time strings on imagery and history tools
(closes #4594)
2017-12-06 15:27:54 -05:00
Bryan Housel cfa1759367 Add scroll zooming support to the OpenStreetCam viewer
(closes #4561)
2017-11-25 00:11:16 -05:00
Bryan Housel 9b705a6375 Don't call async callbacks after connection resets/switches
(closes #4288)
2017-11-14 21:30:01 -05:00
Bryan Housel 91f9da0f06 Switch openstreetcam from http to https to avoid mixed content issues
(closes #4527)
2017-11-14 13:42:23 -05:00
Bryan Housel 1dd437a1f2 Hide mapillary-js attribution and just handle it in iD
(closes #4526)

What we were doing before was d3.selecting the attribution line and
inserting the capture date into it. This was confusing the viewer
(which updates asynchronously) so that the sitelink would never update.
To make things easier, we'll just hide the viewer's built in attribution
and construct the attribution line the way we want it.
2017-11-14 11:32:42 -05:00
Bryan Housel d53637618e Draw selected marker big, fix draw ordering issues, fix close button 2017-11-09 11:27:36 -05:00
Bryan Housel 0702c66834 Improve sign hover/selected, fix Mapillary viewer setup for signs layer 2017-11-08 15:30:45 -05:00
Bryan Housel 4571fd0563 Highlight selected/hovered streetview tracks, fade unselected
Also some code cleanups and nitpicky variable renames
More consistency in Mapillary/OpenStreetCam services
2017-11-08 00:35:44 -05:00
Bryan Housel 2947dcc2fb Add tests for Openstreetcam service and Mapillary sequences 2017-11-06 23:11:00 -05:00
Bryan Housel 095dc19164 Add sequence linestrings to mapillary photo layer too 2017-11-06 21:32:03 -05:00
Bryan Housel d44b754656 Implement sequence step forward/backward 2017-11-06 16:06:25 -05:00
Bryan Housel 5f2b257ddc Swap clockwise/counterclockwise rotation buttons, change glyphs 2017-11-06 15:52:08 -05:00
Bryan Housel e439ea406a Cache sequence info, draw sequence linestrings 2017-11-06 15:48:44 -05:00
Bryan Housel eefbb68dda Add viewer controls.. Rotation works and will cache val per sequence 2017-11-06 10:41:17 -05:00
Bryan Housel ccc8153370 Standardize on "@user | captured_at | sitelink" for attribution 2017-11-05 22:46:53 -05:00
Bryan Housel 51fa9280a4 Add attribution line for openstreetcam 2017-11-03 21:20:14 -04:00
Bryan Housel dd75737fce Add loading spinner 2017-11-03 20:32:04 -04:00
Bryan Housel 6dd71ebf91 Fix loading of images from OpenStreetCam API, add viewer
\o/
2017-11-03 16:48:18 -04:00
Bryan Housel 00b30e29f0 WIP: Add OpenStreetCam support
todo: Need to figure out API issue with bbox, then imageviewer
2017-11-02 22:04:47 -04:00