Bryan Housel
d030251fbb
Ignore pointer events on restriction help
...
This prevents flickering when hovering over a turn restriction
that is up underneath where the help is drawn
2018-02-15 13:39:39 -05:00
Bryan Housel
050907e252
Move event bindings to update selection, so callbacks use correct vars
...
When they are on the enter selection, they can stay "sticky" which has
the effect where you might move a slider and it puts the intersection
back to how it previously was (or returns to a previous intersection)
2018-02-15 08:27:39 -05:00
Bryan Housel
dbdbad29c2
Make sure container has dimensions the first time
2018-02-14 21:53:56 -05:00
Bryan Housel
0381bad22d
Adjust constants, trying to avoid crunched turn indicator on leaf way
2018-02-13 17:45:45 -05:00
Bryan Housel
1612326ffa
Move dist/via sliders to bottom, add imperial/metric conversion
2018-02-13 17:25:49 -05:00
Bryan Housel
1174424f50
Adjust padding and sizing constants, return to col4 sidebar
...
I really want the sidebar back to col4, so the user sees more main map.
This makes it very tricky to fit all of the intersection in the turn
restriction editor.
2018-02-12 15:35:45 -05:00
Bryan Housel
c9dac22218
Render turn indicators slightly closer to turning vertex
2018-02-12 14:43:14 -05:00
Bryan Housel
777585317a
Better inference of u-turns via way
2018-02-12 14:42:39 -05:00
Bryan Housel
ca9aac501b
Adjust text hint colors, change "Continue" to "Straight on"
2018-02-09 23:12:02 -05:00
Bryan Housel
957896656a
Detail slider affects turns, but not geometry
...
(I decided that the larger context of the intersection is important and
shouldn't be hidden from the user)
Also
- show detail slider only if the intersection is complex
- hide the restriction editor completely if there is no real intersection
(e.g. junction of `highway=path`)
2018-02-09 22:11:22 -05:00
Bryan Housel
4e1bafc221
Trying help text with color hint
2018-02-09 17:58:06 -05:00
Bryan Housel
3bd8d8d43d
Style tweaks, persist max detail to localstorage
2018-02-09 17:39:36 -05:00
Bryan Housel
47eb5256cc
WIP: add detail slider to restriction editor
2018-02-09 16:22:49 -05:00
Bryan Housel
0cbff57dc9
Cycle through only_ turn restriction states
...
(re: #2622 )
2018-02-07 19:04:28 -05:00
Bryan Housel
3c340a0362
Trying out more intuitive restriction help message
...
- includes in the message the names of the streets
- also highlights related segments and nodes along the path
The messages are currently a bit rough:
U-Turns FROM Black Horse Pike IS allowed...
VIA Main Street TO Black Horse Pike
2018-02-07 17:00:53 -05:00
Bryan Housel
cf1226ca33
Better calc of turn arrow placmenet along short segments
2018-02-07 17:00:22 -05:00
Bryan Housel
ea4ac80fee
Extend max distance to 30m, but as measured from starting vertex
2018-02-07 09:27:54 -05:00
Bryan Housel
5ca56b6873
Handle situation where nodes have no loc (like in tests)
2018-02-07 01:16:14 -05:00
Bryan Housel
1007cfe252
Better calculation for fitting the whole intersection into view
2018-02-07 01:10:26 -05:00
Bryan Housel
aa7925a918
Extend leaf ways, so they don't stop within the viewport
2018-02-07 00:07:38 -05:00
Bryan Housel
520cfd3276
Fix bug causing improper calc of from/via/to metadata after trimming
...
This is the part of the algorithm where trivial sections get trimmed
from the vgraph. Removing a vertex from `vertexIds` means "stop checking
this one". But there were some situations where it could get removed
twice, so we now just verify that `vertexId` is actually in the array
before calling `splice`.
2018-02-06 14:34:26 -05:00
Bryan Housel
c1378a141f
Add support for complex intersection and via way restrictions
2018-02-02 19:58:09 -05:00
Bryan Housel
db0858f7d2
v2.6.1
2018-02-01 11:38:41 -05:00
Bryan Housel
68a4c1c7b8
npm run translations
2018-02-01 11:37:51 -05:00
Bryan Housel
19b87c07ad
npm run imagery
2018-02-01 11:37:27 -05:00
Bryan Housel
9d55cfb70f
Treat both EsriWorldImagery layers the same (support vintage, etc)
2018-02-01 11:36:20 -05:00
Bryan Housel
8f76c32b52
2.6.1 changelog
2018-02-01 11:17:23 -05:00
Bryan Housel
f8aeef3393
Merge pull request #4756 from bencostamagna/parking_preset
...
Parking preset: Removed address from default fields
2018-02-01 09:54:35 -05:00
Bryan Housel
96c8243e65
Remove brfs dependency (not using)
2018-01-31 13:58:41 -05:00
Benoit Costamagna
3c79f9147a
Parking preset: Removed address from default fields
2018-01-30 10:38:18 +01:00
Bryan Housel
80a998e9c5
Support multiple semicolon delimited direction values
...
(closes #4755 )
2018-01-29 17:49:08 -05:00
Bryan Housel
660a7c09e5
Replace help icon
...
(closes #4650 )
2018-01-29 16:39:45 -05:00
Bryan Housel
c8e89b7a05
Update @std/esm to v0.20.0
2018-01-29 09:46:35 -05:00
Bryan Housel
4476d2f265
Merge pull request #4751 from bencostamagna/delete_warning
...
Warning on multiple deletions: added some details.
2018-01-29 08:58:51 -05:00
greenkeeper[bot]
a5f03b65ad
chore(package): update d3 to version 4.13.0
2018-01-29 08:52:46 -05:00
greenkeeper[bot]
f0c1f17791
chore(package): update rollup-plugin-commonjs to version 8.3.0
2018-01-29 08:52:25 -05:00
Benoit Costamagna
8e85fe847f
correcting build issues
2018-01-29 13:20:50 +01:00
Benoit Costamagna
45b74d8730
Added difference between ways and areas
2018-01-29 13:10:39 +01:00
Benoit Costamagna
70a70ae906
very small optimization
2018-01-29 12:55:16 +01:00
Benoit Costamagna
8831ac18c9
Added more details to the warning when many elements are deleted
2018-01-29 12:50:50 +01:00
Bryan Housel
0b6183e2c5
Remove any duplicate vertex created during replaceMovedVertex
2018-01-29 01:03:03 -05:00
Bryan Housel
9b200cf514
Code cleanups, changes to replaceMovedVertex in moveAction
...
Trying to eliminate the minimum 10m distance for replacing the original
junction vertex - this is a small threshold. When _not_ replacing this
vertex, the unzorro code will wreck havok on a traffic circle.
(If there is no suitable vertex to use, it will snap to a point between
the nearest vertices, see #4146 )
2018-01-28 23:56:03 -05:00
Bryan Housel
4e9f1bbc4f
Remove very old rendering.html test - no plans to update it
2018-01-26 17:40:51 -05:00
Bryan Housel
f05be1be6d
Remove unused lodash script tag from test runner
2018-01-26 17:33:03 -05:00
Bryan Housel
f54d201eb2
Stop sequence from playing when the Mapillary viewer is hidden
...
(closes #4707 )
2018-01-26 16:59:32 -05:00
Bryan Housel
db2d165a17
Support fallback mode for Mapillary when WebGL disabled
...
(closes #3804 )
2018-01-26 16:27:48 -05:00
Bryan Housel
9ebf3b11a4
Don't initialize Mapillary viewer with a key
...
(closes #4536 )
This avoids binding the viewer to an image key that might not be
fully processed, which gets the viewer into a bad state.
Instead, we initialize the viewer with a `null` image key and
issue `moveToKey` immediately.
This commit also adds exception handling for moveToKey.
2018-01-26 15:45:53 -05:00
Bryan Housel
db96246ddf
Create fake entities for nominatim serach results, so they can be localized
...
(closes #4725 )
2018-01-26 00:41:04 -05:00
Bryan Housel
f06e6f236d
Document that custom tile schemes support {-y} also
...
(to be consistent with editor-layer-index and other editors)
2018-01-25 10:29:58 -05:00
Bryan Housel
d5bf2d9762
Add geoHasLineIntersections, better for testing multipolygon rings
...
(closes #4741 )
2018-01-24 23:16:51 -05:00