Bryan Housel
6881205d43
All touch targets are GeoJSON now
...
This makes the code a bit more consistent and lets us avoid some
hacky and probably non-performant things:
- abusing CSS classes in the draw/drag datum functions (classed `.target`)
(is this thing target? just check d.properties)
- regexing the id for `-nope$`
(is this thing a nope target? just check d.properties)
- using context.hasEntity to get a the real entity
(is this thing a real osmEntity? just check d.properties)
- fixes code like the restriction editor which uses fake ids for split ways
2018-01-01 22:37:10 -05:00
ajlomagno
5d3df25960
Moved cleanuo code to exit function in welcome.js
2017-12-27 13:19:22 -05:00
ajlomagno
81910d4f27
Fixed click counter persisting
2017-12-26 15:12:11 -05:00
Bryan Housel
2e2b037e36
Move a bunch of commonly used vector and projection math functions into geo
...
- geoVecAdd
- geoVecSubtract
- geoVecScale
- geoZoomToScale
- geoScaleToZoom
2017-12-18 15:05:42 -05:00
Bryan Housel
bcd511573f
Fix extent in turn restrictions viewer, so vertices will render
2017-12-18 00:34:54 -05:00
Bryan Housel
a5bbc21728
Remove unnecessary zoom parameter
2017-12-11 17:34:01 -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
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
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
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
Bryan Housel
467fcb8b9a
Simplify language in imagery section, move streetlevel and gps after
2017-11-22 11:16:55 -08:00
Bryan Housel
f48a00ce50
Simplify language in GPS section, add section on streetlevel photos
2017-11-22 11:16:55 -08:00
Bryan Housel
3ae7ec8032
Simplify help overview, editing texts
2017-11-22 11:16:55 -08:00
Bryan Housel
7f1dc5e03c
Remove pre-text style from icons, remove "icons and tools" section
...
Between keyboard shortcuts screen and onscreen hover text, I think we have
the icons covered well enough and don't need to add it to the help. Having
it in help means that translators need to do double work.
2017-11-22 11:16:55 -08:00
Bryan Housel
3b775930f6
4 space tabwidth, no trailing spaces
2017-11-22 11:16:55 -08:00
Manfred Brandl
16c3a96777
improve relations
2017-11-22 11:16:54 -08:00
Manfred Brandl
05df663783
Add List of Icons & Tools
2017-11-22 11:16:54 -08:00
Manfred Brandl
365290669d
remove duplicate key geolocate
2017-11-22 11:16:54 -08:00
Manfred Brandl
84ac7df859
add icons and tools
2017-11-22 11:16:54 -08:00
Manfred Brandl
6a711552e4
Remove other editors
2017-11-22 11:16:54 -08:00
Manfred Brandl
ff1a983a14
New help texts
2017-11-22 11:16:54 -08: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
9b705a6375
Don't call async callbacks after connection resets/switches
...
(closes #4288 )
2017-11-14 21:30:01 -05:00
Bryan Housel
35a9f77a63
Preserve selected entity when cancelling save mode
...
(closes #4407 )
2017-11-12 12:34:04 -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
d53637618e
Draw selected marker big, fix draw ordering issues, fix close button
2017-11-09 11:27:36 -05:00
Bryan Housel
6dd71ebf91
Fix loading of images from OpenStreetCam API, add viewer
...
\o/
2017-11-03 16:48:18 -04:00