Commit Graph

8318 Commits

Author SHA1 Message Date
Bryan Housel
467de651f7 Guard code from 9b99115b3 needs to be in undo_redo.js too 2018-01-19 13:49:20 -05:00
Bryan Housel
3667833bcf Narrower slider controls so Firefox doesn't wrap 2018-01-19 12:51:36 -05:00
Bryan Housel
835d45ed6d Never let mouseCoordinates return NaN (fallback to map center) 2018-01-19 11:53:14 -05:00
Bryan Housel
9b99115b3e Guard code for context.mode
In case this is somehow called before initialization is complete
It happens rarely when restoring the initial changes and deferring rendering
2018-01-19 11:44:14 -05:00
Bryan Housel
1cfda3ec86 Only store zoomPan event in mousemove if it has a source event
(closes #4706)

d3 transitioned events don't have a source event,
causing mousemove to go null
2018-01-19 11:42:18 -05:00
Bryan Housel
a9ed808d98 Use highway=bus_guideway as the tag, addTags/removeTags for others 2018-01-19 10:41:26 -05:00
Bryan Housel
4ab444d392 Add bus guideway icon, render bus guideways like service roads 2018-01-19 10:31:50 -05:00
Bryan Housel
c2eeb27d1b Add bus_guideway icon, move weeds from highway=service to highway=track 2018-01-19 10:31:01 -05:00
Bryan Housel
2c5be1a7de Merge branch 'presets' of https://github.com/bencostamagna/iD into bencostamagna-presets 2018-01-19 08:58:05 -05:00
Bryan Housel
1aebbc5bb3 npm run build for new preset files 2018-01-19 08:57:33 -05:00
Bryan Housel
2f01dcc398 Merge pull request #4708 from planemad/patch-1
Update hindu.json
2018-01-19 08:15:26 -05:00
Benoit Costamagna
6c84312a20 Added oneway to suggested tags list for a bus guideway 2018-01-19 10:37:06 +01:00
Benoit Costamagna
a87456abb8 Making the guideway a bit easier on the eye by reusing the cycleway's blue color and shrinking the dashes 2018-01-19 10:23:01 +01:00
Arun Ganesh
f8c1994744 Update hindu.json
- Removing uncommon hindi/sanskrit synonyms
- Add common English spellings of Hindu temples in various Indian languages.
2018-01-19 12:58:39 +05:30
Bryan Housel
1697c48360 Fix flickering and drag-node breakage in line endpoint walkthrough step 2018-01-18 22:02:56 -05:00
Bryan Housel
efc2678610 Fix feature list / current view searching
(closes #4690)
2018-01-18 17:55:14 -05:00
Bryan Housel
44234ede66 Make Help pane slightly wider
(re: "claustrophobia" on #4651, #4686)
2018-01-18 17:31:26 -05:00
Bryan Housel
dc4461ed13 Fix pointer when hovering over editmenu
(closes #4673)
2018-01-18 17:23:40 -05:00
Bryan Housel
3ba984dee3 Merge pull request #4703 from openstreetmap/greenkeeper/mocha-5.0.0
Update mocha to the latest version 🚀
2018-01-18 17:04:30 -05:00
Bryan Housel
843be22d47 Merge pull request #4705 from bencostamagna/preset_sportcenter
Preset sportcenter
2018-01-18 17:03:38 -05:00
Bryan Housel
40dc938580 Merge pull request #4693 from openstreetmap/doubled_back_routes
Fixes for joining and splitting bugs
2018-01-18 17:01:38 -05:00
Bryan Housel
7c918ba161 Allow Relation.replaceMember to optionally preserve duplicates
(closes #4696)
2018-01-18 16:52:23 -05:00
Benoit Costamagna
295514490b re added the building tag with no default value 2018-01-18 21:43:19 +01:00
Bryan Housel
be9bbd9271 Add tests for member ordering: node, way, relation 2018-01-18 15:21:38 -05:00
Bryan Housel
d6afd399fc Revised and expanded actionSplit tests to cover route splitting 2018-01-18 14:34:34 -05:00
Benoit Costamagna
189204f506 Added bus guideway preset and modified the css to render it in blue 2018-01-18 17:07:16 +01:00
Benoit Costamagna
1c4d2e5bcf Merge remote-tracking branch 'upstream/master' 2018-01-18 07:48:32 +01:00
Benoit Costamagna
bdbc63b1c1 removed the building tag from sports centre preset 2018-01-18 07:48:25 +01:00
Bryan Housel
8f9a46b75a Change actionAddMember to rearrange indexed members in place
This allows it to work around issues where a relation may
not be completely downloaded
2018-01-17 22:59:55 -05:00
greenkeeper[bot]
dfefdf9326 chore(package): update mocha to version 5.0.0 2018-01-18 02:37:13 +00:00
JamesKingdom
9bbb5db5ef Rename garage landuse preset
(closes #4697)
2018-01-17 17:45:36 +00:00
JamesKingdom
baa289c6c2 Add name and elevation fields to guidepost preset
(closes #4700)
2018-01-17 17:22:58 +00:00
Bryan Housel
8c9a0eb2c1 Fix doubleclick on line to create a point
(closes #4691)
2018-01-17 09:23:09 -05:00
Bryan Housel
4dc32343d7 npm run build to rebuild preset file 2018-01-17 08:03:53 -05:00
Bryan Housel
1fd1a7ca2a Merge pull request #4684 from ltog/master
Add ref:isil=* for libraries
2018-01-17 07:52:53 -05:00
Bryan Housel
07495ebbb5 Merge pull request #4699 from bencostamagna/preset_boathouse
Added a boathouse preset
2018-01-17 07:50:49 -05:00
Benoit Costamagna
9fee9f01d6 Added a boathouse preset 2018-01-17 12:48:33 +01:00
Bryan Housel
3be577d8db However we fix actionAddMember, it needs to work for incomplete relations 2018-01-16 21:37:43 -05:00
Bryan Housel
4abc5ccf35 Update rollup dependencies and switch to patch semver 2018-01-16 21:01:14 -05:00
greenkeeper[bot]
1b965666e2 chore(package): update shelljs to version 0.8.0 2018-01-16 20:53:46 -05:00
Bryan Housel
be46e85ec0 Move insert way pairing code from osmJoinWays to actionAddMember
(tests for actionAddMember now passing!)
2018-01-16 17:41:14 -05:00
Bryan Housel
221158e918 WIP: Add insertHint to actionAddMember, actionSplit 2018-01-15 23:13:59 -05:00
Bryan Housel
03fa6e7be9 Add tryInsert option to osmJoinWays 2018-01-15 22:02:43 -05:00
Bryan Housel
0382ce7d4b Updated function doc 2018-01-14 21:45:25 -05:00
Bryan Housel
075b85c81d Apply reversal actions in actionJoin
(closes #4688)
2018-01-14 14:49:57 -05:00
Bryan Housel
8dbb6eb20c Return reversal actions performed by osmJoinWays
(see #4688)
2018-01-13 01:45:46 -05:00
Bryan Housel
0fd801d750 Prefer to join member ways in a way that preserves their order
(re #4589)

Strongly prefer to generate a forward path that preserves the order
of the members array. For multipolygons and most relations, member
order does not matter - but for routes, it does. If we started this
sequence backwards (i.e. next member way attaches to the start node
and not the end node), reverse the initial way before continuing.
2018-01-12 17:23:56 -05:00
Lukas Toggenburger
4544bbc1f5 Shorten label of field ref:isil=* 2018-01-12 17:31:05 +01:00
Lukas Toggenburger
e8a68205ab Add ref:isil=* for libraries 2018-01-12 11:58:58 +01:00
Bryan Housel
8f6cb207fc Much expanded tests for osmJoinWays 2018-01-11 21:42:29 -05:00