Quincy Morgan
0d5bd8b277
Store selected mapillary image by its key rather than its object
...
Properly sort selected mapillary signs and features above unselected ones
2019-12-11 17:15:36 -05:00
Quincy Morgan
df3b281d39
Fix mapillary detection selection rendering in Firefox and Safari ( close #6804 )
...
Fix mapillary feature detection tooltips (re: #7079 )
2019-12-11 15:03:54 -05:00
Bryan Housel
fceb1a86f7
Merge pull request #6245 from openstreetmap/d3-v5
...
d3 v5
2019-04-29 15:46:08 -04:00
Bryan Housel
e981cd5dd5
Switch mapillary and openstreetcam tests to work async
...
- can't reliably use sinon.spy to tell whether a thing has been called,
so we listen for events instead and check server.requests()
- make sure to request the next page before dispatching `loadedImages` so
we can `server.respond()` to the request in the event handler if we want to
- also moves `localeDateString` in the openstreetcam service from parsing
code to display code, because it's very slow (we can just do this for the
images we look at, instead of all images we fetch)
2019-04-29 15:31:08 -04: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
Bryan Housel
7e6f68a1b2
Remove lodash some
...
(re: #6087 )
2019-03-23 00:07:52 -04:00
Quincy Morgan
7d0080a642
Persist the photo overlay layers via the URL query string (re: #5813 )
2019-03-14 16:48:08 -04: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
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
6d7659b3bb
Refactor common helper code to svg/helpers.js, add area nopes
2017-12-21 10:36:02 -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
9edae82673
Convert lodah-es and d3 to named imports for svg
2017-09-25 23:16:24 -04:00
Bryan Housel
e71381ed45
Adjust street sign image dimensions to try to make them less blurry
...
(still kinda blurry but closes #4145 anyway)
2017-07-14 00:45:20 -04:00
Bryan Housel
30a12fb1be
Cache images->detections, show multiple detections per image
2017-07-13 23:47:44 -04:00
Bryan Housel
9ee790c1cc
Don't need to pass dimensions to sublayers.. use projection.clipExtent
...
(the dimensions call to layers is to set width/height on svg surface element)
2016-10-30 22:40:11 -04:00
Bryan Housel
cf11c95354
Fix Mapillary sign placement on Chrome, Safari 10
2016-10-29 00:59:51 -04:00
Bryan Housel
053074d076
Export live binding for services in iD.services, fix init/reset
...
(closes #3324 )
Previously we allowed devs to swap out services that they didn't need.
This became difficult now that ES6 exports are immutable bindings.
But we can wrap the immutable bindings themselves in a live object,
to get back the flexibility that we used to have.
This change also drops the `taginfo` accessor on Context, since devs who want
to swap out taginfo service with something else can now do so through the live
binding. `iD.services.taginfo = myTaginfo()`
2016-10-14 10:38:09 -04:00
Bryan Housel
3102a4ae6a
Rename all the things to include pseudonamespaces
2016-10-04 19:06:20 -04:00
Bryan Housel
a6d683eaf7
Code cleanups in svg, ui for selection merging, fix Mapillary.
2016-09-17 23:26:49 -04:00
Bryan Housel
a86f34b4ef
Pacify eslint, get build and tests running again
2016-08-26 01:15:07 -04:00
Tom MacWright
cdb533fa84
Begin d3 v4 update
2016-08-21 15:19:27 -04:00
Tom MacWright
8819d3d061
Remove continued iD references ( #3341 )
...
* Remove continued iD references
* make build.js safe enough to dodge json plugin bug
* Package as an iife to avoid var name issue
2016-08-10 20:06:45 -07:00
Tom MacWright
604d1e2719
import lodash ( #3257 )
2016-07-19 12:04:16 -04:00
Kushan Joshi
fc680a2e9a
external modules for services
2016-07-06 14:39:58 -04:00
Kushan Joshi
b3492b17a0
external modules for SVG
2016-07-06 14:39:14 -04:00
Beau Gunderson
fb838645ae
refactor svg into ES6 modules for #3118
2016-06-16 11:58:23 -07:00