Bryan Housel
8e19474293
Render directional points (e.g. benches, cameras, signs) as vertices
2017-12-11 10:48:04 -05:00
Bryan Housel
b42c096fe5
Make sure viewfields actually update on update selection
2017-12-10 14:34:50 -05:00
Bryan Housel
2a8bf6c7bf
Don't draw viewfields on hover, rearrange code
2017-12-10 00:43:46 -05:00
Bryan Housel
34c98b94e6
Move directions code from vertices to node.js
2017-12-09 12:53:08 -05:00
Bryan Housel
42043b2ce1
Support more tags, cardinal and numeric directions
2017-12-08 16:23:35 -05:00
Bryan Housel
9c649b74cd
After switching from arrows to viewfields, forward/backward is different
2017-12-08 14:54:26 -05:00
Bryan Housel
515094cb56
Only add viewfields for an all-way stop on a highway intersection.
...
Sometimes people tag all-way stop signs at the junction node,
othertimes people tag all-way stop signs at the stop sign location.
What we're doing here is:
- if `stop=all` tagged at the junction, show viewfield in all directions
- if `stop=all` tagged at the sign location, show viewfield according to `direction=` tag
2017-12-08 14:36:45 -05:00
Bryan Housel
6aba27c84a
Display directional vertex with a viewfield, not an arrow
2017-12-08 14:29:56 -05:00
Bryan Housel
b79b6ca97a
Support rendering direction on vertices (stop sign, traffic_signals, etc)
...
(closes #3815 )
2017-12-07 22:48:03 -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
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
095dc19164
Add sequence linestrings to mapillary photo layer too
2017-11-06 21:32:03 -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
51fa9280a4
Add attribution line for openstreetcam
2017-11-03 21:20:14 -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
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
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
Bryan Housel
9edae82673
Convert lodah-es and d3 to named imports for svg
2017-09-25 23:16:24 -04:00
Bryan Housel
5a8709bc67
Treat osm layer like other vector layers and give it a toggle
...
(closes #2904 )
2017-09-18 22:03:34 -04:00
Bryan Housel
b21c2933af
Faster layer disable/enable transitions
2017-09-18 22:02:16 -04:00
Bryan Housel
494e247ad1
Render intermittent features with dashed lines
2017-09-11 14:14:30 -04:00
Kushan Joshi
909b72a39e
cleaning up
2017-08-24 17:03:04 +05:30
Bryan Housel
af10c60e7c
Distinguish between default and special service roads
...
Special service roads include things like
service=parking_aisle, drive-through, alley, etc
(closes #4157 )
2017-07-21 12:46:11 -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
5ca4246a6d
If drawing a way, don't hover on a node that was just placed
...
(closes #3974 )
2017-04-26 13:33:21 -04:00
Bryan Housel
8520e06c5a
Performance: only draw midpoints in select mode
2017-04-26 10:27:38 -04:00
Bryan Housel
3d762b58f6
Add an ellipse to resolve point ambiguity when dragging
...
(closes #3536 )
2017-04-26 02:08:54 -04:00
Bryan Housel
26ae84f8e5
Render old-style multipolygons slightly differently
...
(for #3908 )
2017-04-20 23:34:00 -04:00
Bryan Housel
0228f934b3
Put back the selected class when redrawing selected lines
2017-03-21 14:19:57 -04:00
Bryan Housel
85ed3cc2d3
Cleanup line drawing code with selected sort
2017-03-21 12:42:46 -04:00
Bryan Housel
4903d495b7
Draw selected items last, so halos are more visible
...
(see #2914 )
2017-03-21 02:17:04 -04:00
Bryan Housel
c72dc2427e
Make the oneway markers slightly more opaque
...
(closes #3060 )
2017-03-03 21:41:27 -05:00
Bryan Housel
ee26472496
Remove unused variable - eslint warning
2017-02-28 15:03:33 -05:00
Bryan Housel
9ce06549e1
Add new poi icons, make them work on point, vertex, area label
...
(closes #3856 )
2017-02-26 23:28:29 -05:00
Bryan Housel
20b79940ae
Disable no-fallthrough eslint warning around this switch block
2017-02-06 14:13:04 -05:00
Martin Raifer
d7ad3bc39e
improve autozooming on non-gpx background data layers
...
old implementation only worked for points and linestrings, but geojson and kml can contain any geometry.
aso, d3 is a bit special[1] when working with geojson polygons: it does require clockwise winding, but typical geojson is either counterclockwise winding (RFC7946) or "winding doesn't matter" (old geojson.org spec). When inputing such geojson (or kml) input, iD would zoom out all the way, which is not the intended behavior.
[1] https://github.com/d3/d3-geo#d3-geo
2017-02-06 18:04:20 +01:00
Martin Raifer
ff4bf2597d
fix regression in background layer loading from URL
...
fixes #3820
2017-02-06 15:08:13 +01:00
Bryan Housel
65d49c87bb
Accept geojson files with .json extension
2017-02-01 23:08:36 -05:00
Mert Emin Kalender
7b17145775
Add support for kml and geojson
2017-01-31 21:38:59 -08:00
Bryan Housel
0440054cd9
Child and sibling vertices should be eligible for drag_node
...
(closes #3799 , see also #3801 )
2017-01-27 13:02:27 -05:00
Bryan Housel
8ecff8b8bc
Add osmNode#isConnected
...
This is used to draw vertices
* where multiple parent ways meet
* where a single way self intersects (but not the closing node of a loop)
We were using Graph#isShared or osmNode#isIntersection, but this is slightly
different to handle self-intersecting ways.
2017-01-23 23:44:04 -05:00
Bryan Housel
e4f11f137d
Slightly increase the size of unconnected endpoints
...
(closes #3775 )
2017-01-23 22:18:03 -05:00