Bryan Housel
4840fea0bc
Don't autocomplete numeric values in the combobox
...
(closes #4935 )
2018-03-27 22:15:19 -04:00
Bryan Housel
734957f283
Handle variants of 'stop' and 'platform' when identifying PTv2 members
...
(closes #4946 )
2018-03-27 21:52:52 -04:00
Bryan Housel
08ac17f49c
Split pane content into header and content, move close button
2018-03-27 18:38:39 -04:00
Bryan Housel
3bf618add8
Merge branch 'fix4599' of https://github.com/vershwal/iD into vershwal-fix4599
2018-03-26 11:19:10 -04:00
Bryan Housel
df5383c1b4
Merge pull request #4908 from vershwal/icon_edit
...
Added pencil icon.
2018-03-23 15:40:52 -04:00
Bryan Housel
aea3b6feb5
Fix reference typo introduced in c44551be7
2018-03-23 13:30:37 -04:00
Bryan Housel
1dbf273878
Remove flow
...
https://github.com/openstreetmap/iD/issues/3744#issuecomment-374950519
2018-03-22 16:51:53 -04:00
Bryan Housel
c08d79e488
Extract tag cleaning code to utilCleanTags, add tests
...
(closes #4925 )
2018-03-22 14:46:36 -04:00
Bryan Housel
c44551be77
Don't trim spaces around semicolons in conditional: tag values
...
This commit also includes code formatting, and removes some lodash
2018-03-22 14:46:36 -04:00
Bryan Housel
be85cd8e89
Drop support for node 4 / npm 2
...
(closes #4853 )
This fixes several issues with dependency resolution
2018-03-19 11:59:41 -04:00
Bryan Housel
448ad5157a
Merge pull request #4904 from vershwal/remove-undo-icon
...
Hint text for Remove and Undo button.
2018-03-18 18:58:34 -04:00
vershwal
9d9be8fd26
Added button to close Map controls.
2018-03-18 17:17:28 +05:30
vershwal
1c047f5ac8
Added pencil icon.
2018-03-17 20:22:26 +05:30
Bryan Housel
efddfd271c
More flow coverage of geo submodule
...
(re: #3744 )
also:
- Move types to index and export/import them
- add return types
2018-03-17 09:29:12 -04:00
Bryan Housel
3e47ca005c
Started adding Flow annotations to functions in the geo submodule
...
(re: #3744 )
2018-03-17 01:18:05 -04:00
vershwal
142b738a30
Hint text for Remove and Undo button.
2018-03-17 01:07:56 +05:30
Bryan Housel
61c7f64077
Remember changeset source, make it settable via url param
...
(closes #4899 )
2018-03-16 09:20:32 -04:00
Bryan Housel
e66218e1ef
Merge branch 'tooltip' of https://github.com/vershwal/iD into vershwal-tooltip
2018-03-15 14:30:25 -04:00
vershwal
04bc4b09f0
Added alt text for information icon.
2018-03-15 12:54:42 +05:30
Bryan Housel
4a71aa6146
Use safer field ids in classes, element ids, css selectors
...
Fixes issue with nested/namespaced fields, such as `maxspeed/advisory`,
in situations where would try to use a css selector or element id.
Can't use characters like '/' in a css selector.
2018-03-15 00:57:41 -04:00
Bryan Housel
d2558b950d
v2.7.1
2018-03-11 11:52:48 -04:00
Bryan Housel
2810f690d7
Merge pull request #4860 from jguthrie100/fix_4845
...
Can Esc/finish drawing an Area when cursor is in invalid position
2018-03-10 21:25:12 -05:00
Bryan Housel
d4bf42b6c4
Remove code attempting to extend leaf ways
...
(closes #4869 )
It was causing more rendering issues than it was solving
2018-03-10 17:51:17 -05:00
Bryan Housel
f8bbb995ac
Properly split ways which are members of a via way turn restriction
...
(closes #4861 )
2018-03-10 15:20:20 -05:00
Bryan Housel
aa1565baf8
Avoid reordering stops and platforms in PTv2 routes
...
(closes #4864 )
2018-03-10 00:12:46 -05:00
Bryan Housel
88dea28cf7
only_ restrictions only count if they leave the FROM towards the VIA
...
(closes #4849 )
2018-03-09 22:39:30 -05:00
J Guthrie
d35494d003
Can finish drawing when cursor is in invalid position
...
- When drawing an Area, the leading edge is allowed to temporarily be in an invalid position (see #4655 )..
.. Finishing a drawing is disabled if doing so would close with the invalid leading edge
2018-03-08 02:53:03 +00:00
Martin Raifer
846da84831
add support for 4326 WMS layers
2018-03-07 23:44:19 +01:00
Bryan Housel
8dd7fa611e
Merge branch '3744' of https://github.com/Psigio/iD into Psigio-3744
2018-03-03 22:12:36 -05:00
Bryan Housel
0f7ef99dbc
v2.7.0
2018-03-02 17:54:38 -05:00
Bryan Housel
ecd63cdad2
Use maxDistance passed in to osmIntersection() in turn search
...
(closes #4844 )
The maxDistance was previously hardcoded to 30 meters.
Now we pass it in as a parameter when creating the intersection.
But we need to honor that same maxDistance later when walking the graph
to find turns from.
2018-03-02 17:27:57 -05:00
Bryan Housel
3917f02067
When combobox is attached to textarea, let user up/down arrow
...
(closes #4750 )
2018-03-02 00:42:24 -05:00
Bryan Housel
668c17ad1e
Do not localize decimalCoordinatePair appearing in info panels
...
(closes #4765 )
2018-03-02 00:21:24 -05:00
Bryan Housel
cc79e2170b
Only draw targets for lines and areas that have a valid path
...
Before, it was drawing svg path elements for all the segments,
even those that were clipped out of view (getPath returns null).
This was putting a lot of junk into the DOM.
2018-03-01 22:49:56 -05:00
Bryan Housel
410197ce00
Vertex navigation for home/end should work with way selected
...
(closes #4841 )
Before, first/last keyboard shortcuts only worked if you had a vertex selected.
Now you can navigate to the first/last vertices even if you have the way selected.
2018-03-01 22:23:55 -05:00
Bryan Housel
d9ebdda105
Polyfill sinh for IE11, add tests for wms replacement tokens
...
(see #4814 )
2018-03-01 22:08:39 -05:00
Bryan Housel
67c2dec800
Merge pull request #4814 from openstreetmap/wms-tiles
...
Load WMS tiles if EPSG:3857 (or equivalent) is supported by source
2018-03-01 15:16:31 -05:00
Bryan Housel
4b1f8a8f61
Merge pull request #4768 from openstreetmap/advanced_intersection
...
Add support for complex intersection and via way restrictions
2018-03-01 01:46:30 -05:00
Bryan Housel
78170f8fe9
Improve hint text to aid in localization
...
- change the "Up to {num} ways" to "Up to 2 ways"
(we don't plan to go above 2 for now)
- enumerate all the turn types No/Only/Allowed x Left/Right/Straight/U
- Add a line for "Click for" to let user know they can click to toggle
see https://github.com/openstreetmap/iD/pull/4768#pullrequestreview-100256196
2018-03-01 00:58:53 -05:00
Bryan Housel
241159b547
Cleanup docs and tests for actionRestrictTurn / actionUnrestrictTurn
...
- actionRestrictTurn will no longer "infer" the turn type
- restrictionType *must* be passed in - this is ok because the only code
we use this action (restrictions.js) already has inferred the type
- this simplifies what the action actually does
- moved the tests from restrict_turn.js that were really just testing
the restriction type inferrence over to intersection.js
(and added a few more tests for iD.osmInferRestriction)
2018-02-28 23:55:59 -05:00
Bryan Housel
f9d000a8a5
When switching to ONLY restriction remove all other restrictions
...
But we keep them around in `_oldTurns` and will put them back if the
user clicks again to unrestrict the ONLY.
2018-02-27 22:53:46 -05:00
Jon D
48577aeb63
Add Flow Type Alias for function which returns an object (session_mutex)
2018-02-27 22:25:30 +00:00
Bryan Housel
e9750140ec
Finish help, improve text and styling
2018-02-27 15:51:51 -05:00
Bryan Housel
a700d42e7d
Much improved field help
...
- absolutely positioned attach to inspector,
- float slightly above field
- looks much better
2018-02-26 21:42:45 -05:00
Bryan Housel
6c6b1378b2
Add some restriction help images, adjust styles
2018-02-26 16:31:00 -05:00
Bryan Housel
de1fdaa21f
Add close button, remove _showing state variable
2018-02-26 13:58:50 -05:00
Bryan Housel
97cbfc5c67
Add icons and improve css styles for restriction field help
2018-02-25 22:38:13 -05:00
Martin Raifer
2b96a8ee0b
load WMS tiles if EPSG:3857 (or equivalent) is supported
2018-02-25 20:17:21 +01:00
Jon D
8655ec6baf
Start adding flow annotations, plus updates to build and linting processes to support
2018-02-25 15:44:41 +00:00
Bryan Housel
b3b2be95b1
WIP: Add content for turn restriction field help
2018-02-24 12:14:18 -05:00