Kushan Joshi
781f4540e0
Add a pluggable geocoder
2017-01-13 15:42:03 +05:30
Ajith Ranka
3379d5d9ba
Fix isMaki, reset sizes, remove unnecessary checks
2017-01-13 15:04:58 +05:30
Bryan Housel
cb35873e29
Don't allow continue from the connecting vertex of a closed way
...
Now that addNode tries to preserve circularity, this
could cause the continued segment to loop back.
And anyway it's confusing why one vertex allows it and none others do.
2017-01-12 20:08:42 +05:30
Bryan Housel
45b7a40557
Fix area drawing for #3676
...
These changes are needed now that `addNode`
* wants to preserve circularity
* automatically remove duplicates
* range checks index argument (can't call it with -1 anymore)
2017-01-12 19:30:07 +05:30
huangyingjie
8beb943fa9
fix: properties exported are redefined
2017-01-12 20:24:44 +08:00
Bryan Housel
f109efda7b
Fix close() for single node ways
2017-01-12 15:56:46 +05:30
popov
42a6530796
Do not attach dragNode behavior in browse mode
2017-01-10 10:41:58 +10:00
Bryan Housel
73e27c9657
Now that updateNode preserves circularity, provide close/unclose functions
...
This lets us break closed ways at their connecting node in the few situations where
we actually want that behavior (disconnect action for circular non-area ways)
2017-01-09 19:41:38 -05:00
Bryan Housel
8676dd6e4c
Changes to removeNode and add tests
2017-01-09 18:38:28 -05:00
Bryan Housel
7b86afc9de
Changes to replaceNode and add tests, also stricter isClosed
2017-01-09 18:16:30 -05:00
Bryan Housel
f510038791
Changes to updateNode and add tests
2017-01-09 17:33:46 -05:00
Bryan Housel
f1cdde0f92
Changes to addNode and add tests
2017-01-09 17:33:26 -05:00
Bryan Housel
5ffe5e0a5b
Merge branch 'replace-node' of https://github.com/slhh/iD into slhh-replace-node
2017-01-05 14:17:57 -05:00
Bryan Housel
4cfc51bf4a
Merge branch 'cedarstudios-master'
2017-01-05 11:09:14 -05:00
Bryan Housel
ddd1b7e43a
Don't change history state while in transition
2017-01-04 17:37:29 -05:00
Bryan Housel
8ce6b9e185
Merge branch 'transitioned-actions'
2017-01-04 17:26:22 -05:00
Natsuyasumi
e1640a1e39
Merge branch 'master' into address-customization
2017-01-04 22:19:09 +01:00
Bryan Housel
12047b1b5b
Merge branch 'master' of https://github.com/cedarstudios/iD into cedarstudios-master
2017-01-04 13:33:31 -05:00
Milad Karbasizadeh
4729bbbc4e
fix a bug with space
2017-01-04 11:13:45 +03:30
Bryan Housel
d63c766e69
Split into utilDisplayName / utilDisplayNameForPath
...
This is because utilDisplayName gets called a bunch of places and we
only want to add the Arabic reversal code for textpath labels
2017-01-03 20:58:56 -05:00
Bryan Housel
c70b6278fc
Avoid es6 let/const (because phantomjs)
2017-01-03 17:29:33 -05:00
Bryan Housel
952a338abf
eslint / formatting
2017-01-03 17:27:48 -05:00
Bryan Housel
f9f369b806
Merge branch 'master' of https://github.com/cedarstudios/iD into cedarstudios-master
2017-01-03 17:10:15 -05:00
Milad Karbasizadeh
3ef1103c3a
Remove signs of real_name ever existed.
2017-01-03 21:57:29 +03:30
Nick Doiron
9e5d3e7c5a
digest combined LTR and RTL words
2017-01-03 22:21:15 +08:00
Milad Karbasizadeh
5da7d83fe9
Modify railways arabic/persian names
2017-01-03 16:34:57 +03:30
Milad Karbasizadeh
a36650ccbe
add arabic kaf to character table
2017-01-03 16:15:08 +03:30
Nick Doiron
88efc0c8ef
add and reorder letters
2017-01-03 18:18:29 +08:00
Nick Doiron
94ee7d4916
move changes to svg display name
2017-01-03 18:18:18 +08:00
Bryan Housel
fc5aea739f
Update fontstack to use better system fonts over Helvetecia Neue
2017-01-02 18:51:12 -05:00
Mikołaj "Natsuyasumi" Kuranowski
79c01b3ec4
Merge remote-tracking branch 'refs/remotes/openstreetmap/master' into address-customization
2017-01-02 17:48:24 +01:00
Milad Karbasizadeh
af1ac89df7
Rename fix-string.js and fixTextForSvg function name to a more readable name.
...
User regex to detect arabic characters.
Fix editing bugs.
2017-01-02 14:48:22 +03:30
Milad Karbasizadeh
92b5ce133d
fix persian characters on chrome and safari
2017-01-01 15:41:47 +03:30
Bryan Housel
c2713c3a3f
For node-way merge, preserve original node if possible
...
(closes #3683 )
2016-12-31 02:01:13 -05:00
Bryan Housel
45ad0842dd
Pacify eslint
2016-12-28 01:16:57 -05:00
popov
19b0a771f6
make vertex by midpoint double-clicking
2016-12-28 15:32:47 +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
slhh
7817d6dff1
Prevent duplicate consecutive nodes in addNode, updateNode, and
...
replaceNode, and add some comments.
2016-12-24 18:32:28 +01:00
Bryan Housel
eb0cdd5e8c
History transition code cleanup
2016-12-23 17:18:28 -05:00
Bryan Housel
cb70b8028f
Pacify eslint
2016-12-23 12:26:00 -05:00
Bryan Housel
c48cdc7c70
Clearer intent for right triangle code
2016-12-23 12:22:48 -05:00
Bryan Housel
cc5f238042
Support transitioned orthogonalize action
2016-12-23 12:04:53 -05:00
Bryan Housel
3e82a7352c
Support transitioned straighten action
2016-12-23 11:09:17 -05:00
Bryan Housel
fdc37287ec
Support transitioned circularize action
2016-12-23 10:52:00 -05:00
Bryan Housel
d917424fc4
Support for performing transitionable actions
2016-12-23 00:57:05 -05:00
Bryan Housel
1685e4c2b4
Support transitioned reflect actions
2016-12-23 00:56:44 -05:00
Bryan Housel
9a922c0731
Make Reflect/Rotate unavailable for strictly linear features
2016-12-22 15:18:01 -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