Commit Graph

49 Commits

Author SHA1 Message Date
Bryan Housel
1731ce4651 Partition viewport by tiles, not by pixels
(closes #4297)

The previous approach split the viewport up by pixels, but each time the view
moved, the pixels would change, so it was not a stable selection of the
streetview data, and the markers would fight for position as the user moved
around.

This approach uses utilTiler to partition the view into stable tiles.
2018-11-14 14:48:42 -05:00
Bryan Housel
08e9476f3e Fix photoviewer resize event 2018-11-06 13:09:04 -05:00
Bryan Housel
2fa593421f Rename scaleExtent to zoomExtent, slightly simplify getTiles() 2018-07-22 01:15:44 -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
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
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
Thomas Hervey
386d375b7a fix excessive note tiling and network request 2018-07-19 10:51:39 -04:00
Thomas Hervey
c563abaf7a pass dimensions to tile 2018-07-18 15:49:04 -04:00
Thomas Hervey
5bf3f7ed3e Merge branch 'master' into refactor-loadTiles 2018-07-18 07:26:56 -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
d4b1622667 moved getTiles and filtering to utils 2018-07-14 19:15:25 -04:00
Bryan Housel
cd7cdd95e9 Add "View on Bing Maps" link, cleanup css
(closes #5125)
2018-07-10 02:04:39 -04:00
Bryan Housel
696895fb98 Add forward/backward controls to Streetside viewer
re: #5125

There is some cleverness here to search for the best nearby bubble
instead of just relying on the next and previous sequence keys.
2018-07-10 01:10:18 -04:00
Bryan Housel
917c6dd6fc Add hires checkbox to toggle 512 and 1024 resolutions
Also added code to calculate quadkey maps for:
- 2048 (works but is pretty slow and not that better than 1024)
- 4096 (doesn't work)
2018-06-22 23:07:07 -04:00
Bryan Housel
e2e3588b3c Add high resolution checkbox 2018-06-22 18:27:15 -04:00
Bryan Housel
5975f0d902 Support resolution up to 2048, more zoom 2018-06-22 17:26:31 -04:00
Bryan Housel
b7df31b747 Update styles, reenter bubbles with new key when sequences connected 2018-06-22 15:32:28 -04:00
Bryan Housel
fb324dd865 Allow d3.geo.tile to fetch margin tiles (beyond viewport covering) 2018-06-22 12:24:40 -04:00
Bryan Housel
d41cf5e6d8 Wait to get canvas context until image is loaded, avoid some globals 2018-06-22 11:41:29 -04:00
Bryan Housel
abbffd5e5b Avoid recreating canvases when showing the layer, put under ms-wrapper not body 2018-06-22 09:12:07 -04:00
Bryan Housel
5f1c79c91d pacify linter, gitignore vscode settings 2018-06-22 01:20:15 -04:00
Bryan Housel
e145c1da01 Merge branch 'streetside' of https://github.com/jharpster/iD into jharpster-streetside 2018-06-22 00:59:07 -04:00
LorenMueller
1a93ed74ef new var for toggle of 4 or 16 images per face 2018-06-21 12:43:58 -07:00
Bryan Housel
4c812b6f35 Return an abortable request from jsonp_request 2018-06-19 23:09:06 -04:00
LorenMueller
81bddf27fa 'q' lib as dependency; updated streetside for higher resolution imagery 2018-06-19 15:22:56 -07:00
Bryan Housel
adc9c521df Final style tweaks, back to z16.5 to avoid hitting 1000 bubble limit 2018-06-13 16:39:41 -04:00
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
f1ed0b3c68 skip duplicate bubbles 2018-06-11 23:34:34 -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