Commit Graph

985 Commits

Author SHA1 Message Date
Bryan Housel
add1bac3f2 v2.5.1 2017-11-16 00:43:56 -05:00
Bryan Housel
0c0ecdfcfc Comment out some of the requestIdleCallback to fix walkthrough crash
(closes #4533)

There are several issues here.. Here's a quick brain dump:

- the requestIdleCallbacks in map.js (scheduleRedraw) seem to be causing
crashiness in Firefox on fast zoom/unzoom, mousewheel, etc.. anything where
the view transform changes a lot and the redraws don't catch up.
(commented out, reverted back to lodash throttle)

- the requestIdleCallback worker queue in idle_worker.js seems to be causing
crashiness in Firefox and Chrome when exiting the walkthrough.  Something about
deferring the tile parsing as the user leaves the intro has a problem.
It might be an infinite `while` loop, not sure.
(commented out, reverted back to for loop)

- the requestIdleCallback in call_when_idle.js is only used to defer
tile loading in context.loadTiles() - this one seems fine, and actually
has maybe the biggest benefit for improving performance.
(left in)
2017-11-15 22:21:40 -05:00
Bryan Housel
2962f80821 Perform eased zoom to avoid Firefox crash (and it looks nice too)
(closes #4421)
2017-11-15 16:58:49 -05:00
Bryan Housel
38920b2c61 Reset temp placement variable each loop iteration
(closes #4473)

Otherwise `if (p)` will have stale data and be truthy for vertices at low zoom
2017-11-15 13:47:59 -05:00
Bryan Housel
6e0a2c1221 Don't use real filenames in the imagery_used field (for privacy)
(closes #4530)
2017-11-15 11:56:32 -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
35a9f77a63 Preserve selected entity when cancelling save mode
(closes #4407)
2017-11-12 12:34:04 -05:00
Bryan Housel
2a5d7d875a v2.5.0 2017-11-10 15:47:56 -05:00
Bryan Housel
b882ae46bb Add code so tunnel=building_passage doesn't default to layer=-1
(closes #4516)
2017-11-09 14:54:00 -05:00
Bryan Housel
bd639f2da0 Don't defer merging loaded entities into the history graph
(closes #4276)
2017-11-09 14:22:53 -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
9dac13a915 Show only linestrings at low zooms 2017-11-08 16:46:53 -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
fb063aa2c5 Render panoramic Mapillary viewfields as a sphere instead of arc
(closes #3154)
2017-11-07 01:04:11 -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
Bryan Housel
a0a197a69e Add support for DigitalGlobe imagery vintage overlays
(see https://github.com/osmlab/editor-layer-index/issues/371)
2017-11-01 13:46:13 -04:00
Bryan Housel
475db33b3f Bump default max_zoom from 20 to 22 (affects custom imagery) 2017-11-01 10:36:23 -04:00
Bryan Housel
672a555229 Allow spellcheck in textarea fields
(closes #4471)
2017-10-31 22:45:24 -04:00
Bryan Housel
4d1c6796c2 Don't leave space for an area icon, if preset doesn't have an icon
(closes #4479)
2017-10-31 22:22:40 -04:00
Bryan Housel
3bcf90d3d6 Let wheel events pass through the "Zoom in to edit" button to the map
(closes #4482)
2017-10-31 10:52:36 -04:00
Bryan Housel
be02b1c530 Better placeholders for electrical fields, switch some to combo 2017-10-24 22:30:07 -04:00
Bryan Housel
c40f242b82 Depend on bhousel/node-diff3 which includes fix for hunk sorting bug
(closes #3544, closes #3058)
2017-10-24 15:38:52 -04:00
Bryan Housel
30ff68348f Don't disable boundries when disable_features list is present
(also removed some unused functions)
2017-10-23 15:53:46 -04:00
Bryan Housel
dbf85dae43 If no features are disabled remove the querystring parameter 2017-10-22 22:42:35 -06:00
Bryan Housel
469df0b059 Change features to disable_features querystring, add init() 2017-10-22 12:00:51 -06:00
Bryan Housel
3332847beb Merge pull request #4439 from ferdibiflator/features-api-parameter
add the features api parameter which enables the list of features
2017-10-22 10:40:44 -06:00
Nikita Mashukov
edc30ad41c no prevent the copy event when there is selected text 2017-10-20 20:20:42 +07:00
Colin Kennedy
c81cf703f2 Fix #4443 Imagery only updated on first save 2017-10-15 15:45:53 -04:00
Nikita Mashukov
d0cca4bc5b spaces instead tabs 2017-10-14 18:42:37 +07:00
Nikita Mashukov
a00debe663 push gpx src (file name or url) to imagery_used 2017-10-14 18:37:49 +07:00
Nikita Mashukov
bac4da5abe using spaces instead tabs 2017-10-14 17:46:29 +07:00
Nikita Mashukov
f92e248e5a init features logic fix 🐛 2017-10-14 17:41:15 +07:00
Nikita Mashukov
5a980ec24f tabs are replaced by spaces 2017-10-14 17:06:51 +07:00
Nikita Mashukov
7cd3882cf8 missed semicolon is added 2017-10-14 17:03:21 +07:00
Nikita Mashukov
b7b5171a2f add features api parameter which enables the list of features 2017-10-14 12:08:12 +07:00
Bryan Housel
8abc39461b Fallback Area preset should preserve the area=yes tag
(closes #4424)
2017-10-10 20:54:41 -04:00
Bryan Housel
d82a34ed83 v2.4.3 2017-10-09 17:57:42 -04:00