Bryan Housel
006ee691bf
Avoid placing labels in interesting points/vertices
...
(closes #4271 )
2017-12-13 14:31:17 -05:00
Bryan Housel
450392d2e5
Fix label placement for directional points rendered as vertices
2017-12-13 10:23:25 -05:00
Bryan Housel
5d5546d54d
Minor code formatting
2017-12-13 10:02:39 -05:00
Bryan Housel
789f1e5f6f
Make sure points/vertices render the right things at different zooms
2017-12-13 08:57:43 -05:00
Bryan Housel
899abc7ef5
WIP to render vertices while dragging
...
(re: #3003 / #4602 )
For now, drawHover is commented out. Still not sure what I will do with it.
This means that things flicker a bit when dragging, also connecting nodes
(and closing lines) does not currently work.
There was lot going on preventing the vertices from rendering while dragging.
1. `modeDragNode` needed a proper `selectedIDs()` function that works like other
modes.. Many other places in iD (including the vertex renderer) call `context.selectedIDs()`..
This means that `modeDragNode` needs a new function `restoreSelectedIDs()` to do what
`selectedIDs()` was previously doing (a place to store selectedIDs so that we
can reselect those entities after the user is done dragging a node in select mode)
2. Just so many things in svg/vertices.js
- siblingAndChildVertices was missing some things for points that we render
as vertices (points in wireframe, points with directions)
- the sibling vertices weren't being included in the `filter` function, so
would disappear when doing differenced/extent redraws
- probably some other things
2017-12-12 17:39:36 -05:00
Bryan Housel
b394cb6dfa
Variable cleanup, elminiate lodash _filter
2017-12-11 17:46:15 -05:00
Bryan Housel
a5bbc21728
Remove unnecessary zoom parameter
2017-12-11 17:34:01 -05:00
Bryan Housel
4b5260a5ab
Add wireframe viewfield marker
...
(styling marker fill in svg is not currently supported)
2017-12-11 15:48:08 -05:00
Bryan Housel
2edbcc4b82
Match any *:direction key, rather than hardcoding a list
2017-12-11 15:17:17 -05:00
Bryan Housel
ee3083b113
Support rendering camera:direction
2017-12-11 11:46:11 -05:00
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
6cfe7a2e71
When reversing a way, reverse traffic_signals:direction on child nodes
...
(closes #4595 )
2017-12-06 20:48:21 -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
3440b5523c
Use ⌘F to focus the feature search box
...
(closes #4545 )
2017-12-06 01:19:02 -05:00
Bryan Housel
c6ab9e593d
Flash message if drag not allowed because of a hidden connection
...
(closes #4493 )
2017-12-06 00:11:42 -05:00
Bryan Housel
f247bd1e66
Move icon code into uiFlash, default flash icon to icon-no
...
Previously it was up to the caller to draw whatever they want into the
footer flash. With this change, uiFlash creates an icon and a text, so
the caller doesn't need to do as much work.
2017-12-05 23:41:34 -05:00
Bryan Housel
5e19c936f0
Avoid deferred fetching of OSM tiles at low zooms or with layer disabled
...
(closes #4572 )
2017-12-05 14:36:12 -05:00
Bryan Housel
50c1b58bda
Added saturation slider, simplify code, improved sharpen parameters
2017-11-30 23:24:55 -05:00
Bryan Housel
53225f08ec
more tweaks to unsharp mask
2017-11-30 16:19:06 -05:00
Bryan Housel
b1efcf83b2
Add Sharpness slider
2017-11-30 08:50:32 -05:00
Bryan Housel
2946774e60
WIP: Add unsharp-mask filter layer to sharpen background imagery
2017-11-30 01:56:23 -05:00
Bryan Housel
d24e2663f2
Replace confusing opacity buttons with opacity slider
2017-11-29 17:02:13 -05:00
Bryan Housel
17809545c6
Ensure only one pane shown at a time, remove unnecessary handlers
2017-11-28 23:21:52 -05:00
Bryan Housel
2e2dd5f025
Larger headings on Map Data and Background panes
2017-11-28 22:49:46 -05:00
Bryan Housel
61bb9d968d
Restyle uiDisclosures, larger text, svg expand/contract icon
2017-11-28 21:33:46 -05:00
Bryan Housel
d7e8625d6b
Use uiDisclosure for background pane subsections, move brightness
2017-11-28 15:06:19 -05:00
Bryan Housel
5a9749c516
Fix bug that caused clicking a uiDisclosure to change the url
...
(closes #4570 )
2017-11-27 23:42:02 -05:00
Bryan Housel
385297d993
Use uiDisclosure for data pane subsections
2017-11-27 22:05:02 -05:00
Bryan Housel
34cdab9197
uiDisclosure now handles expanded state in localStorage
...
Now all the places that use a uiDisclosure won't have to do that
2017-11-27 17:13:57 -05:00
Bryan Housel
d2c70938f6
Wrap offset control in uiDisclosure, fix event handling on input field
...
(closes #4553 )
2017-11-27 13:54:32 -05:00
Bryan Housel
857a1c4821
Refactor offset control into separate uiBackgroundOffset module
2017-11-27 12:03:14 -05:00
Bryan Housel
c0040f3cd6
Add caseSensitive option for combofields, use for source=*
...
(closes #4558 )
2017-11-26 19:30:19 -05:00
Bryan Housel
cfa1759367
Add scroll zooming support to the OpenStreetCam viewer
...
(closes #4561 )
2017-11-25 00:11:16 -05:00
Bryan Housel
434bc5af96
Improve styling of keyboard shortcuts, clicks, commands in help text
2017-11-23 02:31:12 -05:00
Bryan Housel
fd49f47ede
Now background, map_data, help stay open when user clicks on map surface
...
There is really no need to hide these, and the user might just want to
keep the pane open (e.g. viewing help) while they do stuff.
2017-11-22 22:29:06 -05:00
Bryan Housel
bf2251bbc4
Add markdown headings with code, not in translation text
2017-11-22 22:27:23 -05:00
Bryan Housel
70fb1432ea
Remove the unused icons from the replacements object
2017-11-22 21:27:24 -05:00
Bryan Housel
6490abbb4f
Split up all help sections and titles, assemble markdown from keys
...
(also incorporate some of @1ec5's copyedits, and adjust icon styles)
2017-11-22 17:25:57 -05:00
Bryan Housel
ca49166d6c
Simplify language in relation section
2017-11-22 11:16:55 -08:00
Bryan Housel
5a70308947
Simplify language in feature_editor section
2017-11-22 11:16:55 -08:00
Bryan Housel
c484e8cc92
Swap undo/redo when rtl
2017-11-22 11:16:55 -08:00
Bryan Housel
1f6c8d9132
Move more of the content from the walkthrough into the help sections
2017-11-22 11:16:55 -08:00