John Firebaugh
c263ebd4dc
iD.util.geo => iD.geo
2013-01-22 18:20:20 -05:00
John Firebaugh
ff15aa8e7b
Rewrite d3.keybinding
...
A keybinding now represents a set of key commands that can
be unbound as a set. Multiple keybindings are possible, and,
providing a namespace is provided to the constructor, will
not conflict with each other.
Also, key combination strings such as ⌘+A are now supported.
2013-01-22 14:55:08 -05:00
Tom MacWright
6f73ae48d7
Fix global leak
2013-01-22 14:49:28 -05:00
Tom MacWright
64445e50ac
Slow and fast redraw
2013-01-22 14:17:27 -05:00
Tom MacWright
748b597c84
Fast zooming based on transforms.
...
* Replaces the mouseup-tranformStart method with a redraw debouced by 1/5s
2013-01-22 12:23:51 -05:00
Tom MacWright
3d90801e63
Add willselect to hash, works with non-line features.
2013-01-22 10:22:00 -05:00
Tom MacWright
7cf234365e
Non-overwriting hash, add hash in select mode. Needs code for dealing
...
with hash.
2013-01-22 09:41:29 -05:00
Ansis Brammanis
5d283f0698
usecapture for stopping right click propagation
2013-01-20 19:27:20 -05:00
John Firebaugh
5279839ca4
Highway rendering test page
...
Removing the top-level clip-rect to make this work;
it doesn't seem necessary?
2013-01-19 08:26:13 -08:00
John Firebaugh
e933b9d088
Include parent relations recursively
...
Fixes drawing when dragging a multipolygon vertex.
2013-01-17 16:32:20 -08:00
Tom MacWright
8c051dc801
Add centerZoom to center and zoom the map with one redraw. Fixes #416
...
Also throttles redraw and make hash track the map faster.
2013-01-17 18:05:48 -05:00
John Firebaugh
9abe3af312
Fix extent and difference rendering for multi polygons
2013-01-17 14:27:01 -08:00
John Firebaugh
5a2444b551
Extract and fix extent/intersection calculations
...
Extents are now [[min x, min y], [max x, max y]].
2013-01-17 14:27:01 -08:00
John Firebaugh
9a76b81125
First cut on multipolygon rendering
2013-01-17 11:57:30 -08:00
John Firebaugh
9f1506af5e
Always use rounded projection
2013-01-17 11:57:29 -08:00
Tom MacWright
fd2ef2a78b
Rename tooltip to tail, use tail in modes.
2013-01-17 12:07:26 -05:00
Tom MacWright
061e81d14a
Merge branch 'master' into tooltips
2013-01-17 11:32:37 -05:00
Tom MacWright
cdbe3d6168
Fix removal of elements on undo. Fixes #410
2013-01-17 10:44:12 -05:00
Tom MacWright
eecc6b14fb
First shot at tooltips cc @samanbb
2013-01-16 18:39:12 -05:00
Tom MacWright
d8a587631b
Fix TypeError from race condition between resetting and using
...
transforms.
2013-01-16 17:37:57 -05:00
Tom MacWright
1c757a7c20
Improve background cache logic. Fixes #411
2013-01-16 17:36:45 -05:00
Tom MacWright
6407fa464c
Run intersection on difference changes, do not use compact. Fixes #334
2013-01-16 14:06:11 -05:00
Tom MacWright
0e9e14102e
Cache fetch results, higher features limit
2013-01-16 13:54:53 -05:00
Ansis Brammanis
cb8dedf2c0
Fix element drag mousedown is listening to
2013-01-16 13:16:59 -05:00
Tom MacWright
8def2e0999
Remove style and references to it
2013-01-16 13:07:30 -05:00
Tom MacWright
87c341d7e0
Fix jshint problems.
2013-01-16 12:39:35 -05:00
Ansis Brammanis
b18457f60b
Fix leaking globals and add test case
2013-01-14 15:54:12 -05:00
Ansis Brammanis
a0072bfa18
Add map.extent and use in geocoder
2013-01-14 15:36:52 -05:00
John Firebaugh
acaaab5dc9
Extract iD.svg.Surface
2013-01-11 16:01:39 -08:00
John Firebaugh
cf5efdcfa1
Lint fixes
2013-01-11 14:54:51 -08:00
John Firebaugh
7dc1945ee3
accuracy-handle -> midpoint
2013-01-11 14:54:51 -08:00
Ansis Brammanis
c894ad26f2
nicer getComputedLength caching
2013-01-11 17:28:04 -05:00
John Firebaugh
b8310e2d9f
Move to iD.svg.TagClasses
2013-01-11 11:56:37 -08:00
Ansis Brammanis
486c201a21
Fix jerk after dragging
2013-01-11 13:39:14 -05:00
Ansis Brammanis
f9d205385a
Merge branch 'master' of github.com:systemed/iD
2013-01-11 11:32:32 -05:00
Ansis Brammanis
59bfe703fd
Restrict zoom while drawing
2013-01-11 11:32:07 -05:00
John Firebaugh
809b73599c
Merge points code into iD.svg.Points
2013-01-11 07:49:26 -08:00
John Firebaugh
1e5e588ae6
Clean up
2013-01-11 07:49:26 -08:00
John Firebaugh
68a430cf70
Clean up
2013-01-11 07:09:07 -08:00
John Firebaugh
6aa43f44d0
Split map rendering into some components
2013-01-11 07:04:40 -08:00
John Firebaugh
2ab572bd42
iD.Entity.key
2013-01-10 21:05:03 -08:00
Ansis Brammanis
1eb5744b8d
Make vertex tag edits show up in inspector
2013-01-09 16:45:03 -05:00
Tom MacWright
11b3d0d24c
Fix #351
2013-01-09 14:57:42 -05:00
Tom MacWright
eedc0fce9d
Fast parent calculation.
2013-01-09 14:52:39 -05:00
Tom MacWright
850e7d6568
Optimize difference and parentWays
2013-01-09 13:45:04 -05:00
Tom MacWright
9fde54c2c7
Inline image css to fix selector perf, was about 3%
2013-01-09 12:53:01 -05:00
Tom MacWright
7d705b4bd5
Restyle notice and move responsibility for it outside of the map. Fixes #131
2013-01-09 12:40:17 -05:00
Ansis Brammanis
57c0504dac
Fix right click on map from propagating
2013-01-08 18:37:51 -05:00
Tom MacWright
2079918e8f
Fix for deleting elements
2013-01-08 16:52:00 -05:00
Tom MacWright
b244d37368
Fix bad typeof
2013-01-08 16:10:57 -05:00