Commit Graph

1024 Commits

Author SHA1 Message Date
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 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
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 710a075a90 When deleting final nodes from a way, pan to final node's location
(closes #4541)
2017-11-20 16:16:33 -05:00
Bryan Housel add1bac3f2 v2.5.1 2017-11-16 00:43:56 -05:00
Bryan Housel 0c0ecdfcfc Comment out some of the requestIdleCallback to fix walkthrough crash
(closes #4533)

There are several issues here.. Here's a quick brain dump:

- the requestIdleCallbacks in map.js (scheduleRedraw) seem to be causing
crashiness in Firefox on fast zoom/unzoom, mousewheel, etc.. anything where
the view transform changes a lot and the redraws don't catch up.
(commented out, reverted back to lodash throttle)

- the requestIdleCallback worker queue in idle_worker.js seems to be causing
crashiness in Firefox and Chrome when exiting the walkthrough.  Something about
deferring the tile parsing as the user leaves the intro has a problem.
It might be an infinite `while` loop, not sure.
(commented out, reverted back to for loop)

- the requestIdleCallback in call_when_idle.js is only used to defer
tile loading in context.loadTiles() - this one seems fine, and actually
has maybe the biggest benefit for improving performance.
(left in)
2017-11-15 22:21:40 -05: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 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 6e0a2c1221 Don't use real filenames in the imagery_used field (for privacy)
(closes #4530)
2017-11-15 11:56:32 -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 91f9da0f06 Switch openstreetcam from http to https to avoid mixed content issues
(closes #4527)
2017-11-14 13:42:23 -05:00
Bryan Housel 1dd437a1f2 Hide mapillary-js attribution and just handle it in iD
(closes #4526)

What we were doing before was d3.selecting the attribution line and
inserting the capture date into it. This was confusing the viewer
(which updates asynchronously) so that the sitelink would never update.
To make things easier, we'll just hide the viewer's built in attribution
and construct the attribution line the way we want it.
2017-11-14 11:32:42 -05:00
Bryan Housel 35a9f77a63 Preserve selected entity when cancelling save mode
(closes #4407)
2017-11-12 12:34:04 -05:00
Bryan Housel 2a5d7d875a v2.5.0 2017-11-10 15:47:56 -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