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
b7df3eda38
Use new Mapillary API calls for map_features, image_detections
...
(closes #5374 )
2018-11-07 23:09:11 -05:00
Bryan Housel
08e9476f3e
Fix photoviewer resize event
2018-11-06 13:09:04 -05:00
Bryan Housel
4cd442e09d
Restore mapillary.js line endings back from CRLF -> CR, fix tests
2018-10-11 13:58:57 -04:00
Christopher Beddow
7ad55b5074
fix: traffic signs to new endpoint
2018-10-11 13:58:57 -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
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
Matias Volpe
aac394a487
Update directional indicator based off of current bearing in Mapillary JS
2018-07-19 08:45:28 -03: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
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
Thomas Hervey
d4b1622667
moved getTiles and filtering to utils
2018-07-14 19:15:25 -04:00
Matias Volpe
b617695ad1
Remove OSM iD custom photo attribution to show MJS photo attribution
2018-07-12 17:59:56 -03:00
Matias Volpe
836517a9fe
Add ability to resize to PhotoViewer
2018-07-12 09:41:10 -03:00
Bryan Housel
cd7cdd95e9
Add "View on Bing Maps" link, cleanup css
...
(closes #5125 )
2018-07-10 02:04:39 -04:00
Bryan Housel
1395e029d9
Add guard code for if Mapillary viewer could not be initialized
2018-07-09 16:17:09 -04:00
Bryan Housel
e493bb4c64
Reset marker for panoramic/viewfield when switching steetview layer
2018-06-13 15:00:05 -04:00
Bryan Housel
d24790f17a
Merge branch 'master' into jharpster-streetside
2018-06-11 23:51:23 -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
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
Shawna Paradee
2b50d36f65
adding points for streetside images
2018-03-20 13:05:33 -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
18ab596f58
Improve int'l date/time strings on imagery and history tools
...
(closes #4594 )
2017-12-06 15:27:54 -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
095dc19164
Add sequence linestrings to mapillary photo layer too
2017-11-06 21:32:03 -05:00
Bryan Housel
ccc8153370
Standardize on "@user | captured_at | sitelink" for attribution
2017-11-05 22:46:53 -05:00
Bryan Housel
6dd71ebf91
Fix loading of images from OpenStreetCam API, add viewer
...
\o/
2017-11-03 16:48:18 -04:00
Bryan Housel
1074c4ff9a
Merge branch 'master' into lodash-es
2017-09-27 14:47:31 -04:00
Bryan Housel
50da78c1fd
Convert lodah-es and d3 to named imports for services
2017-09-25 15:10:47 -04:00
Bryan Housel
bf3fbd21d1
Comment out debugging code from #4376
2017-09-25 11:56:50 -04:00
Kushan Joshi
ddbc9df113
Sort mapillary’s rbush result
2017-09-25 18:20:43 +05:30
Bryan Housel
fbff5195e0
Append capture date instead of inserting it
...
Messing with DOM node order seems to break the Mapillary viewer's ability to
correctly set the user and photo links
2017-07-16 11:22:27 -04:00
Bryan Housel
ec4b00b7e1
Call selectedImage again from nodeChanged to update detections, capturedAt
2017-07-16 11:15:43 -04:00
Bryan Housel
30e5b18d6b
Convert UTC to local time when displyaing Mapillary timestamp
2017-07-16 10:54:27 -04:00
Bryan Housel
346b5e9b36
Add capture date on the attribution line at bottom of Mapillary viewer
...
(closes #4156 )
2017-07-15 03:17:47 -04:00
Bryan Housel
802d5707d6
Style detections for better visibility
2017-07-14 02:32:35 -04:00