46 Commits

Author SHA1 Message Date
Mattia Pezzotti
d1e5c2910c add date slider for street level photos, and more (#10394)
full list of enhancements:

* year slider to filter photos by freshness
* toggle active streetlevel layers with shortcut `shift+P`
* hfov, pitch and direction is now held between sequences and images as asked in #10392
* fix for #10361 (only panoramax)
* added tests and jsdoc
* add ticks for existing photos on slider
* general bug fixes
* rudimentary support for toDate in date slider (only when iD is started with a "to" date in the hash parameter: show a second slider to visualize and set the "to" date)

---------

Co-authored-by: Martin Raifer <martin@raifer.tech>
2025-03-18 21:09:37 +01:00
Martin Raifer
d7902e1388 only show regional street-level photo providers in the available region
and disable selection checkbox if not zoomed in enough to load the photos
2023-08-02 16:35:56 +02:00
Quincy Morgan
981cdc6736 Apply photo date and username filters to Mapillary sign and object detections (close #8133)
Don't update disabled SVG layers upon photo changes
2020-10-29 11:59:12 -04:00
Quincy Morgan
081db7c7a6 Support filtering by multiple photo usernames 2020-10-19 16:27:07 -04:00
Quincy Morgan
a48c69331f Merge branch 'develop' into photo-filter-temp 2020-10-15 13:38:15 -04:00
Quincy Morgan
a33ab44e81 Merge branch 'develop' into photo-filter-temp
# Conflicts:
#	css/80_app.css
#	modules/services/mapillary.js
2020-10-12 16:16:32 -04:00
Quincy Morgan
21a49bbec8 Initial support for D3 v6.2.0 2020-10-06 15:08:39 -04:00
Quincy Morgan
ad54a6e140 Support opening iD with a Streetside or OpenStreetCam photo specified as a URL parameter (close #6398)
Bring the APIs for the three street level services closer in sync
2020-10-02 13:30:36 -04:00
Quincy Morgan
4050940268 Lazy load photo overlay resources (close #7982) 2020-09-13 11:52:37 -04:00
Peter Newman
4205ca1d07 Fix the seemingly safe spellings found by codespell
Untested, only checked by inspection.

(cherry picked from commit 2c47a11008)
2020-08-10 17:32:37 +01:00
Nikola Plesa
23bce42618 feat: filter sequences from openstreetcam and streetside 2020-07-27 09:42:59 +02:00
Nikola Plesa
22bc5121a4 feat: date and username filtering for photo overlay layers 2020-07-27 09:42:59 +02:00
Quincy Morgan
09a20bc809 Fix issue where panning the bing streetside photo viewer wouldn't update the bubble cone in the map 2020-07-07 13:52:55 -04:00
Quincy Morgan
a7ce956e1f Don't use global selectors in street-level photo services (re: #7445) 2020-03-29 11:04:38 -07:00
Quincy Morgan
0931459dba Reduce use of global selection (re: #7445) 2020-03-24 13:02:06 -07:00
Quincy Morgan
371bac0aa2 Convert photoviewer from id to class 2020-03-20 14:07:09 -07:00
Bryan Housel
d986d1b68d Use native Promises and drop "q" dependency, update streetside.js to es6 2019-11-08 16:24:41 -05:00
Quincy Morgan
d01bb78707 Reduce circular dependencies caused by importing from indexes, the location of the validation models, and the location of areaKeys (close #6237) 2019-04-24 13:45:59 -07:00
Quincy Morgan
7d0080a642 Persist the photo overlay layers via the URL query string (re: #5813) 2019-03-14 16:48:08 -04:00
Quincy Morgan
c65a4d038e Add photo overlay filter options for hiding flat and pano photos (close #5433) 2019-03-14 14:24:21 -04:00
Max Grossman
7f837c7e0c no need to generate service variable
ref #5929
2019-02-01 14:01:17 -05:00
Max Grossman
d894521143 just don't close viewer...
ref #5829
2019-02-01 13:55:10 -05:00
SilentSpike
129c28fb25 Fix street imagery selection highlight persistence
Root cause was the `select` mode removing the "selected" class from all
elements upon `exit()`. Easy fix is to use a different class (here
"currentView") for street imagery elements.
2019-01-29 13:26:53 +00:00
SilentSpike
99f7a90387 Fix imagery layers resetting eachother's classes
Fixes:
- Selecting a bubble then enabling a second imagery layer removes the hovered and selected highlighting
- If multiple imagery layers are enabled and you select a bubble it only temporarily becomes highlighted
- If multiple imagery layers are enabled and a bubble is highlighted, hovering over another imagery layer's bubble will remove the selected and hovered highlighting

Basically these all came down to style updates resetting all layers for
cases other than when the viewport was changed (where doing so makes
sense because the selected bubble/sequence needs to update as a result).

See #5494
2019-01-29 13:25:47 +00:00
SilentSpike
da41d9d921 Fix mouseover events on imagery layer bubbles
This is just a minor thing that doesn't usually alter visible behaviour.

The mouseover and mouseout events would fire when moving between child
elements of the svg group which was unnecessary.
2019-01-29 13:24:01 +00:00
Bryan Housel
b7df31b747 Update styles, reenter bubbles with new key when sequences connected 2018-06-22 15:32:28 -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
5f1c79c91d pacify linter, gitignore vscode settings 2018-06-22 01:20:15 -04:00
LorenMueller
81bddf27fa 'q' lib as dependency; updated streetside for higher resolution imagery 2018-06-19 15:22:56 -07:00
Bryan Housel
b2c2b4e87b Can still update viewer rotation just not redraw 2018-06-13 15:53:10 -04:00
Bryan Housel
3c02c2ee7b Don't update the streetside viewfield when the map is moving 2018-06-13 15:34:39 -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
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
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
427dfc1b15 adding streetside points 2018-03-20 12:50:31 -07:00