John Firebaugh
a85361545d
Preserve connectivity when pasting
...
Fixes #2584
2016-02-29 12:09:14 -05:00
Bryan Housel
36a767554c
Allow escape to cancel paste
...
(closes #2889 )
2016-02-07 00:46:12 -05:00
Bryan Housel
70aa850ffc
Compare class strings instead of DOM classlist ( closes #2909 )
2016-01-13 00:03:31 -05:00
Bryan Housel
56e97ba256
Don't select hidden vertices with the lasso
2016-01-04 12:07:57 -05:00
Bryan Housel
9f8e3c6c1a
eslint warning
2015-12-27 01:26:43 -05:00
Bryan Housel
a7a8a6f38e
Cancel throttled hash updates in hash.off()
2015-12-23 10:09:11 -05:00
Bryan Housel
afca7c5643
Prevent most keyboard shortcuts during walkthrough
...
(If hit accidently these can really get a user stuck)
2015-12-22 23:06:41 -05:00
Bryan Housel
902c122383
Cancel throttled hover events when exiting hover modes
...
possibly related to #2736 , as a source of "Uncaught Error Entity xxxx not found" errors
2015-12-22 16:23:18 -05:00
Bryan Housel
c185189512
Adjust interpolation params, DRY code, perf improvements
2015-12-18 20:39:45 -05:00
Bryan Housel
882457a351
Add Breathe behavior for interpolated select halos ( closes #1814 )
2015-12-17 22:25:46 -05:00
Bryan Housel
9cb53a1117
Don't update urlhash during the walkthrough (related: #1795 )
...
Users are likely reloading the page (e.g with Cmd-R) and getting put back into
Three Rivers, thinking they are still in the tutorial.
2015-11-06 01:02:05 -05:00
Bryan Housel
fda733de28
Make mouseout use container coordinates ( closes #2758 )
2015-09-28 11:16:39 -04:00
Bryan Housel
ace428ce41
Don't reenter Browse mode on every click
2015-03-19 10:58:35 -04:00
Bryan Housel
c69fbf3e3d
In copy/paste, use the graph that entities originally came from
...
(fixes #2557 )
2015-03-18 10:08:36 -04:00
Bryan Housel
1f0087d133
Merge pull request #2525 from openstreetmap/conflict-resolution
...
Merge Conflict Resolution
2015-03-05 19:49:15 -05:00
Bryan Housel
6ecca72eac
Unsuppress menu when reselecting
...
(fixes #2533 )
2015-02-24 14:16:51 -05:00
samanpwbb
d141827c3e
Merge branch 'master' into conflict-resolution-ui
2015-02-06 19:08:50 -05:00
Bryan Housel
986498e038
Add missing parameter to isComplete
2015-01-24 01:18:35 -05:00
Bryan Housel
ed4929273d
Return entities from iD.Connection via callbacks
...
(instead of dispatching `load` event to merge them into `history`)
This is cleaner becuase now `context` doesn't need to keep an
`altGraph` state used only for Conflict Resolution.
The conflict resolution code calls the `iD.Connection` methods directly,
and other places in the code call `loadEntity` and `loadTiles` wrappers
that merge the entities into the main history.
2015-01-08 14:44:58 -05:00
Bryan Housel
1603b638f6
Add Copy/Paste behaviors, context copybuffer
2015-01-07 10:41:05 -05:00
Sajjad Anwar
17fb2f64e5
Configurable minimum editable zoom
2014-11-11 14:37:11 -08:00
John Firebaugh
91699bb142
Suppress tail in walkthrough ( fixes #2362 )
2014-10-06 18:22:45 -07:00
Bryan Housel
21da76cf80
add comment url param to prefill changeset comment ( closes #2311 )
...
for integration with HOT Task Manager or other OSM tools
2014-08-11 19:51:52 -04:00
Christian Schwarz
be68027189
Fixed chrome selection bug ( fixes #2151 )
2014-07-15 14:43:08 +02:00
Bryan Housel
52903c509d
iD.behavior.Hash handles selected id parameter
...
(this is better than having `iD.modes.Select` mess with `location.hash`)
2014-06-30 00:33:19 -04:00
John Firebaugh
cb2121b7c4
Don’t preventDefault on mousedown ( fixes #2115 )
...
This prevents blur events from getting properly dispatched.
2014-05-28 18:02:44 -07:00
John Firebaugh
e59d24ed3e
Merge pull request #2089 from mourner/better-hover
...
Better hover experience
2014-01-08 13:26:56 -08:00
Vladimir Agafonkin
fc92f34eab
dry up code for CSS transforms
2014-01-08 19:55:27 +02:00
Vladimir Agafonkin
1ca0282c99
avoid excessive tooltip show/hide with mouseenter/leave
2014-01-08 19:32:31 +02:00
John Firebaugh
4ce9bedb9c
Correct arrow direction on drawn segment ( fixes #2078 )
2014-01-02 17:36:23 -08:00
John Firebaugh
fb88b046cc
Restore leading event for move throttling
...
Hash updates turn out to be very timing sensitive.
While it's OK for drag gestures to be throttled with
a trailing edge, manual moves such as zooming to a
particular feature should always trigger a leading
edge update.
To recoup the performance, we could refactor the map
events to the standard movestart, move, and moveend,
and update the hash only on moveend.
Fixes #2023
2013-11-26 11:26:30 -08:00
Vladimir Agafonkin
06438489fb
don't throttle update on hash change, fixes #2023
2013-11-26 20:15:14 +02:00
Vladimir Agafonkin
dab1fa8eaf
don't update hash/attrib immediately on move start
...
Makes panning snappier by avoiding non-critical operations at the very
start.
2013-11-22 00:32:29 +02:00
John Firebaugh
1e78ee5c87
Stricter jshint
2013-10-24 16:08:48 -07:00
John Firebaugh
8323c948a7
jshint fixes
2013-10-24 15:33:52 -07:00
John Firebaugh
0a3d2161cd
Fix corner case that could cause getting stuck in drag mode ( #1910 )
2013-10-23 16:44:35 -07:00
John Firebaugh
4b1af71d10
Don't prevent following an existing way when drawing ( fixes #1430 )
2013-10-10 11:29:10 -07:00
tyr
e8d637f2bb
Add iD.geo.sphericalDistance
...
iD.geo.euclideanDistance should only be used for calculations of
projected coordinates or display (pixel) coordinates.
iD.geo.sphericalDistance calculates approximate geographical
distances, accounting for distortions at higher latitudes. This
can be used for determining the nearest node (operations.Delete,
actions.Circularize) or relative length comparisons (actions.Split).
2013-09-29 07:45:04 -07:00
John Firebaugh
a231963510
Tail should appear only first time
2013-08-09 14:42:16 -07:00
John Firebaugh
11e2f1d1fe
Merge geocoder into feature search UI
2013-07-25 19:24:07 -07:00
John Firebaugh
a039f576e9
Port user-select suppression to iD.behavior.Drag
...
Fixes #1585
2013-06-20 15:18:50 -07:00
John Firebaugh
bba761d8ea
size -> dimensions
...
D3 3.2 adds selection.size, where size means "number
of selected elements".
2013-06-20 13:05:20 -07:00
John Firebaugh
994161d08c
Disable hover when panning ( fixes #1550 )
2013-06-17 17:05:50 -07:00
John Firebaugh
2722294cec
Don't trigger hover events on nonentities
2013-06-17 15:43:51 -07:00
John Firebaugh
4bdf66c33a
Remove unused
2013-06-17 15:16:56 -07:00
John Firebaugh
98072bdd27
Use minzoom behavior in all appropriate modes
...
Fixes https://github.com/systemed/iD/issues/1599#issuecomment-19568483
2013-06-17 14:43:16 -07:00
John Firebaugh
82a4f9c366
Avoid duplicate hover events
2013-06-04 18:33:23 -07:00
John Firebaugh
c68635062c
Fix sidebar UI behaviors
...
* Restore preset search autofocus (fixes #1566 )
* Should show hover in draw modes, not preset list
2013-06-03 16:28:30 -07:00
John Firebaugh
a84a3364cc
selection -> selectedIDs
...
Overloading "selection" is a bad idea.
2013-06-03 15:48:03 -07:00
John Firebaugh
eebd9aa030
Remove unused
2013-06-03 15:30:23 -07:00