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
Bryan Housel
be02b1c530
Better placeholders for electrical fields, switch some to combo
2017-10-24 22:30:07 -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
b7d98b94fb
loadEntity loadEntityVersion and loadMultiple all should ignore entityCache
2017-08-24 21:00:39 -04:00
Bryan Housel
cd05c51432
loadEntity can use entityCache, but loadEntityVersion should not
2017-08-24 15:02:12 -04:00
Bryan Housel
cabc98649f
Clear entity id cache on reset()
2017-08-24 13:10:51 -04:00
Kushan Joshi
82686b10a5
Add requestIdleCallback
2017-08-22 17:38:42 +05:30
Kushan Joshi
442f0831b1
add enitity cache
2017-08-21 15:56:50 +05:30
Bryan Housel
99a3741b0c
Better isolation of services, to avoid hitting network during test runs
...
1. All services are disabled in testing now to prevent network accesses
2. Only services are enabled when needed to test something
3. Many changes throughout code to allow iD to run with services disabled
(e.g. check for osm service instead of assuming context.connection() will work)
4. Actually export the services so we can disable and enable them
2017-08-09 22:04:09 -04:00
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
Bryan Housel
590ab7d8b9
Detection cache can store source data, not instantiated tag objects
2017-07-14 01:20:26 -04:00
Bryan Housel
30a12fb1be
Cache images->detections, show multiple detections per image
2017-07-13 23:47:44 -04:00
Bryan Housel
fa9df01155
Guard code for mapillaryViewer, local scope for tagComponent
2017-07-12 17:31:19 -04:00
Kushan Joshi
57410b264b
add mapillary detections
2017-07-12 16:21:57 +05:30
Bryan Housel
b6c2645409
Add history urls to osm service and more URL tests
2017-06-30 00:52:05 -04:00
Bryan Housel
fdd6b329a8
Get changeset, timestamp, uid for all elements; changeset_count for users
2017-06-29 22:02:54 -04:00
Bryan Housel
1c303edf18
Add generic reverse geocoder function to nominatim service
2017-06-29 01:23:33 -04:00
Bryan Housel
70d0a68c6d
Use context.asset() to generate path to Mapillary image sprite
2017-06-09 10:53:48 -04:00
Bryan Housel
274552205d
Merge pull request #4050 from mapillary/mapillary-api-v3
...
Update to Mapillary API v3 and add new traffic signs
2017-06-09 10:37:30 -04:00
Nikola Plesa
9c772a1058
Update to Mapillary API v3, use traffic signs from Mapillary sprites
2017-05-17 11:18:46 +02:00
Bryan Housel
14ebd273b5
Make opening_hours a combo
...
see: https://github.com/openstreetmap/iD/issues/974#issuecomment-296665907
2017-04-24 09:51:12 -04:00
Bryan Housel
06caeb87b7
Correct lodash _.omit usage
...
(closes #3965 )
2017-04-22 23:05:15 -04:00
Bryan Housel
108150faf9
Don't re-request inflight nominatim requests
2017-04-20 14:45:22 -04:00
Bryan Housel
43b8ab1754
Set debounce wait to 500ms, still feels responsive
2017-04-20 14:13:10 -04:00
Bryan Housel
02688a1fcf
Check cache for shortened query that returns fewer than max results
2017-04-20 14:08:38 -04:00
Bryan Housel
62d0bc0bf5
Debounce should debounce all requests even cached, fix tests
...
(see https://github.com/openstreetmap/iD/pull/3975#issue-222747308 )
2017-04-19 13:13:12 -04:00
Bryan Housel
494dd979a9
Never reset the taginfo cache
...
The data on taginfo is refreshed once per day, so there's no reason to
reissue those API calls during a normal editing session.
reset() gets called after the user saves their changes to OSM
2017-04-19 09:25:09 -04:00
Bryan Housel
c2d6c84aee
Exclude popular keys from values lookups..
...
see #3955
2017-04-18 23:29:01 -04:00
Bryan Housel
b44bd7a427
Increase debounce threshold for taginfo
2017-04-18 21:15:47 -04:00
Bryan Housel
e1a9e7e74d
Don't try to force opening-hours value lookups to lowercase
...
(closes #3629 )
2017-03-20 23:02:35 -04:00