Bryan Housel
bf1270908b
Don't attempt clever way movement with areas.
2015-03-05 16:49:47 -05:00
Bryan Housel
3adcd85c89
Fix nudging, cleanup code..
2015-03-05 16:20:50 -05:00
Bryan Housel
7232e0d769
Restrict delta so that user can not move way across intersection
2015-03-04 16:05:33 -05:00
Bryan Housel
6d82ae4146
add iD.geo.Extent#contains
2015-02-06 13:56:51 -05:00
Bryan Housel
54594cd296
unzorro vertices that have moved past an endpoint
...
(while this works, it causes jerky confusing movement when moving the way,
so probably taking a different approach involving point scaling)
2015-02-06 10:31:35 -05:00
Bryan Housel
66ab2fe0db
Better caching, code cleanups..
2015-02-02 23:22:27 -05:00
Bryan Housel
fb90cd90b0
Use graph#overwrite for move mode
...
also move cache stuff from here down into iD.actions.Move
2015-02-02 22:02:33 -05:00
Bryan Housel
147e369c3b
Add graph#overwrite (same as pop followed by perform)
...
to remove some of the overhead in creating difference and dispatching
change event multiple times..
2015-02-02 22:01:49 -05:00
Bryan Housel
f1f6656269
Perform moves idempotently
...
* instead of passing small deltas to the move action and accumulating
errors, always pass the absolute delta since entering move mode
* also fix cache to handle circular/self-referencing relations
2015-02-02 16:29:08 -05:00
Bryan Housel
e51e46a885
refactor and improve unzorroing, vertex replacement
2015-01-26 21:52:31 -05:00
Bryan Housel
9233be9cd6
Avoid zorroing connected ways when moving a way
...
(closes #729 )
2015-01-24 01:07:27 -05:00
Bryan Housel
cac0258baf
Merge pull request #2498 from bhousel/copy-paste
...
Copy paste map features with Cmd-C, Cmd-V
2015-01-15 21:24:58 -05:00
Bryan Housel
62f7681370
Remove row when clicking trash icon in raw tag editor
...
(closes #2418 )
Dispatching `event.change(tag)` does update the tag editor in most
cases, but it is not sufficient to remove a blank row with no tags..
2015-01-14 09:57:23 -05:00
Bryan Housel
ef2d6e75cf
Add minzoom check to map.zoom() ( closes #2499 )
2015-01-13 23:09:19 -05:00
Bryan Housel
0b93f9cdb5
Add leisure=nature_reserve preset ( closes #2496 )
2015-01-13 22:07:55 -05:00
Bryan Housel
d668498414
Add amenity=bicycle_repair_station preset ( closes #2497 )
2015-01-13 21:47:52 -05:00
Bryan Housel
ef657fad08
Add amenity=grit_bin preset ( closes #2500 )
2015-01-13 21:31:15 -05:00
Bryan Housel
05cb8a4c44
Merge pull request #2507 from guillaumep/master
...
Add amenity=public_bookcase preset
2015-01-13 21:19:05 -05:00
Guillaume Pratte
8d714abb74
Add amenity=public_bookcase preset
2015-01-13 20:19:58 -05:00
Bryan Housel
1603b638f6
Add Copy/Paste behaviors, context copybuffer
2015-01-07 10:41:05 -05:00
Bryan Housel
90147b23db
Make copy handle circular and other degenerate Relations
2015-01-04 23:15:47 -05:00
Bryan Housel
f6d144c151
Improvements, and simplify code
...
* don't worry about deep copying, because immutability
* don't need `attrs` parameter which is usually empty
* don't worry about resetting `v` entity version
2015-01-01 22:49:44 -05:00
Bryan Housel
4b6abf7a42
Added iD.actions.CopyEntity
2014-12-28 22:01:10 -05:00
Bryan Housel
dae0d2d55e
Add entity copy methods
2014-12-28 22:00:55 -05:00
John Firebaugh
d9294e3e04
Add substation type field
...
Fixes #2486
2014-12-21 15:37:13 -08:00
John Firebaugh
3348ef8c72
Add junction=yes preset
...
Fixes #2484
2014-12-21 15:29:22 -08:00
John Firebaugh
29c2a85488
Add takeaway and delivery fields
...
Fixes #2483
2014-12-21 15:27:18 -08:00
John Firebaugh
b8f83ccc8b
Add levels field to building=commercial
...
Fixes #2454
2014-12-21 15:21:24 -08:00
John Firebaugh
9f0ec5dad4
Add amenity=register_office preset
...
Fixes #2431
2014-12-21 15:15:22 -08:00
John Firebaugh
363a67bdf9
Add landuse=garages preset
...
Fixes #2430
2014-12-21 15:12:35 -08:00
John Firebaugh
da43e8347b
Add natural=cave_entrance preset
...
Fixes #2412
2014-12-21 14:59:25 -08:00
John Firebaugh
60b1d4ef91
Add amenity/fast_food to default suggestions
...
Fixes #2446
2014-12-21 14:55:03 -08:00
John Firebaugh
3da6935be0
Switch to landuse=farmland as the preferred preset ( fixes #2478 )
2014-12-17 09:36:54 -08:00
Bryan Housel
93b505259f
Mode change code in editOff no longer needed..
...
(because iD.modes.Select listens for drawn event and knows to exit itself)
2014-12-15 16:16:46 -05:00
Bryan Housel
de6d24f41a
Don't exit mode when selected elements are gone until after a draw pass
...
(fixes #2476 )
2014-12-15 16:08:01 -05:00
Bryan Housel
a3fc0d62e5
free radialMenu in exit ( fixes #2477 )
2014-12-15 10:10:52 -05:00
Bryan Housel
c74629ede8
handle relation selections, cleanup code,
...
closes #2469 , #2470
2014-12-10 23:30:09 -05:00
Bryan Housel
037bd19ebf
Fix help pane button toggling ( closes #2471 )
...
(and cleanup code to make background, map_data, help panes more consistent)
2014-12-10 13:30:11 -05:00
Bryan Housel
ba4f712711
Merge pull request #2467 from bhousel/localstorage-restore
...
Don't pass extra arguments from map to Entity initializer
2014-12-04 11:54:20 -05:00
Bryan Housel
7c458513f3
Don't pass extra arguments from map to Entity initializer
...
fixes #2465
2014-12-02 22:14:31 -05:00
Martin Raifer
0d1c289354
Merge pull request #2463 from cschwarz/fix-country-code-error-handling
...
Fixed address input while nominatim is not available, fixes #2438
2014-11-30 23:02:51 +01:00
Christian Schwarz
1d580d3ca2
Fixed address input while nominatim is not available
2014-11-30 22:16:03 +01:00
John Firebaugh
e17a72ba4a
Merge pull request #2451 from alexandrz/bench-covered-bus-stop
...
Updated bus_stop preset
2014-11-23 08:36:05 -08:00
Aleksandr Zykov
f1f4835848
added bench field
...
added bench and covered fields to bus_stop preset
2014-11-23 12:52:14 +05:00
Bryan Housel
3e391e87df
don't try to call Entity#geometry for midpoints
2014-11-21 10:58:32 -05:00
Bryan Housel
ebaaa4ba5a
Initialize radialMenu earlier
...
This prevents it from being undefined when exiting back to browse mode:
in selectElements() (re 2024e233 crash if element id passed in url hash)
in update() (possible re #2151?)
2014-11-19 00:18:39 -05:00
Bryan Housel
3974bcf41b
Move editable() to be with the other map things
2014-11-19 00:17:50 -05:00
Bryan Housel
81ea0276f8
Don't show "0 Hidden Features" warning after editOff
...
(regressed in 916a901 )
2014-11-18 22:05:20 -05:00
Bryan Housel
dfe8fd1e90
features performance enhancements
...
1. reusue entity.geometry where possible
2. cache entity parents
2014-11-18 22:05:08 -05:00
John Firebaugh
d444c907e8
Style
2014-11-11 15:12:08 -08:00