Commit Graph

6568 Commits

Author SHA1 Message Date
popov d0727c2f36 reflect-typo 2016-12-28 15:45:13 +10:00
Bryan Housel 0c9fb7c407 Improve military presets
(closes #3663)

* Add Nuclear Explosion Site and Military Office presets
* Add Bunker Type field
* Improve styling rules for preset icons
* Improve search terms for all military presets
* Nest military presets under `landuse=military`
* Add ref, iata, icao fields to Military Airfield
* Don't set area pattern fills on buildings
2016-12-27 01:19:13 -05:00
Bryan Housel 0e2cd589d4 Add styling for natural=bare_rock, natural=sand 2016-12-26 16:00:02 -05:00
Bryan Housel c664281c2d Add presets for natural Bare Rock, Ridge, Sand
(closes #3646)

Also cleanup terms
2016-12-26 15:09:34 -05:00
Bryan Housel 99bf8d4dbd Remove extra "name" field from Plant Nursery preset
(closes #3678)

Also:
* changed Plant Nursery to be area geometry only, not point
* added "plant" field to Plant Nursery preset
* added "operator" field to this and other related presets
* added search terms for this and other related presets
2016-12-25 14:10:38 -05:00
greenkeeperio-bot d2952cf929 chore(package): update mapillary-js to version 2.2.0
https://greenkeeper.io/
2016-12-22 15:55:24 -05:00
greenkeeperio-bot 63e054772c chore(package): update rollup-plugin-commonjs to version 6.0.1
https://greenkeeper.io/
2016-12-22 15:43:32 -05:00
greenkeeperio-bot b70cab0bfd chore(package): update rollup to version 0.38.0
https://greenkeeper.io/
2016-12-22 15:42:56 -05:00
Bryan Housel 93cdf29797 Merge pull request #3664 from openstreetmap/operation-behavior
Improved Post Paste Behaviors
2016-12-22 15:29:59 -05:00
Bryan Housel 9a922c0731 Make Reflect/Rotate unavailable for strictly linear features 2016-12-22 15:18:01 -05:00
Bryan Housel c4bb7a0ba3 Update CHANGELOG for 2.0.2 2016-12-22 11:23:18 -05:00
Bryan Housel 37534aed0e More cleanup of operations and post-paste behavior
* Support move, rotate, reflect, delete post paste on multiselection
* Improve text and error msgs for singular vs multi selections
* Move `disabled` checks from actions to operations
* Reproject center of rotation (closes #3667)
* Cleanup tests
2016-12-21 23:58:13 -05:00
Bryan Housel 38e4900355 Allow rotate of multiple selected objects
(closes #1719)
2016-12-21 16:44:40 -05:00
Bryan Housel cad4c0090c Refactor rotation code to geoRotate, add tests 2016-12-21 11:21:06 -05:00
Bryan Housel 063e7712b8 Move geo functions from index.js to geo.js 2016-12-20 23:08:22 -05:00
Bryan Housel 573f476cdd Rename actionRotateWay -> actionRotate 2016-12-20 22:38:30 -05:00
Bryan Housel 6ab9489fe7 Add utilGetAllNodes to get all nodes and descendants 2016-12-20 22:37:53 -05:00
Bryan Housel a2f50f4485 Support behaviors in Rotate mode 2016-12-20 14:55:02 -05:00
Bryan Housel 57696ab5eb Rename rotate-way mode to just rotate 2016-12-20 13:44:39 -05:00
Bryan Housel addd12ae99 Exclude child nodes from newIDs if their parent way was also copied
for #3656 item 1
2016-12-20 01:31:49 -05:00
Bryan Housel 087a8c62d1 Behaviors for all Operations 2016-12-20 00:28:24 -05:00
Bryan Housel 068a40e6cc Support Reflect behaviors in Move mode
Also some refactor and added support diagonal nudging
2016-12-19 16:56:32 -05:00
Bryan Housel 35aae816b0 Expose Reflect operation behavior 2016-12-19 16:55:49 -05:00
Bryan Housel 1884c7070e Add a keybinding behavior for operations 2016-12-19 16:55:11 -05:00
Bryan Housel 82665a6883 Add preset for power=plant
(closes #3661)

This one was a little complicated because they are generally tagged along
with landuse=industrial, and we want to make sure the power=plant is
the tag used for matching.
2016-12-18 21:27:34 -05:00
Bryan Housel d69c4d6d9a Don't highlight previous parent way
(closes #3657)
2016-12-17 23:13:10 -05:00
Bryan Housel fac0429c4c Don't call updateTags extra times
(closes #3650)
2016-12-17 22:38:28 -05:00
Bryan Housel 6ed2dce08d Use fake phone number for placeholder 2016-12-17 16:02:50 -05:00
Supaplextw 8f40627936 fix format: remove comma 2016-12-17 15:58:36 -05:00
Supaplextw ec6134464e Add Taiwan phone format 2016-12-17 15:58:27 -05:00
Bryan Housel a9ce12a074 Improve factory/works preset, add Product field 2016-12-16 16:35:51 -05:00
Bryan Housel 59dc6f38f3 Merge branch 'patch-1' of https://github.com/abdeldjalil09/iD into abdeldjalil09-patch-1 2016-12-16 16:27:50 -05:00
Bryan Housel 650e77e9ac Update togeojson import 2016-12-16 16:21:03 -05:00
Bryan Housel f93a195c03 Update togeojson dependency, now under @mapbox namespace 2016-12-16 16:11:55 -05:00
Bryan Housel 2267035dfb Support both reflect long axis and reflect short axis operations 2016-12-16 13:59:33 -05:00
Bryan Housel dca1c8fb41 Add reflect icons 2016-12-16 11:24:29 -05:00
Bryan Housel e88f53ac07 Reflect around long axis by default, provide method to choose long/short 2016-12-15 18:13:28 -05:00
Bryan Housel 94933ac455 Attempt to detect shape orientation and reflect accordingly 2016-12-15 17:43:46 -05:00
abdeldjalil09 888de8487e Add address field to works preset 2016-12-15 17:01:14 +01:00
Bryan Housel 72c51bc283 Add getSmallestSurroundingRectangle 2016-12-14 17:21:32 -05:00
Bryan Housel 5a6045fd3d Merge branch 'master' into Psigio-3375 2016-12-14 11:30:53 -05:00
Bryan Housel 6bfef30ecd Add waterfall preset
(closes #3608)
2016-12-13 23:22:27 -05:00
Bryan Housel 4fa754e717 Adjust matchScores so features match types other than barrier
(closes #3647)

e.g. `office=* + barrier=wall` should match as an office not a wall
2016-12-12 22:33:53 -05:00
Bryan Housel 0f05df86e3 Proper Case labels 2016-12-11 17:35:51 -05:00
Bryan Housel 0e85fd5b3e Merge branch 'public-bath-scheme' of https://github.com/Natsuyasumi/iD into Natsuyasumi-public-bath-scheme 2016-12-11 17:14:48 -05:00
greenkeeperio-bot 3a01b88a4e chore(package): update eslint to version 3.12.0
https://greenkeeper.io/
2016-12-11 17:12:37 -05:00
Bryan Housel 6ca4b13304 Store view transform and selectedIDs w/history, and undo/redo them
(closes #2204)
2016-12-10 23:25:58 -05:00
Bryan Housel dc5da7b480 Follow next vertex when deleting, add suppressMenu when vertex following 2016-12-09 12:11:24 -05:00
Bryan Housel 3abf1b5be8 Allow reselection of next vertex even if vertex has multiple parents 2016-12-09 11:57:26 -05:00
Bryan Housel a55ab036aa Don't assume that all the ids in selectedIDs are valid
(This is becuse they might have been deleted in a delete operation
and we are immediately redrawing the results of that operation before
reselecting something else)
2016-12-09 11:46:22 -05:00