Commit Graph

7583 Commits

Author SHA1 Message Date
Tom MacWright
77696941cb Reuse tiles from higher zooms 2012-11-15 12:20:31 -05:00
Tom MacWright
c6640ac828 Fix overeager buffering of the map window, much faster tile loading 2012-11-15 12:09:02 -05:00
Tom MacWright
83373fa775 Reference more prior work 2012-11-15 11:18:24 -05:00
Tom MacWright
658cc5607c More methods 2012-11-15 11:18:14 -05:00
Tom MacWright
05e9a5af7f More svg corner cases 2012-11-15 11:14:17 -05:00
Tom MacWright
53403591ce Limit maximum width of inspector 2012-11-15 10:14:56 -05:00
Tom MacWright
555fefc47c Mouseover previews of feature names 2012-11-15 10:07:57 -05:00
Tom MacWright
0603725454 Fix fast mode bug with downloading api tiles that come in during drags 2012-11-15 09:49:40 -05:00
Tom MacWright
9fd1288366 Match osm style for controls 2012-11-14 18:59:45 -05:00
Tom MacWright
4e4c585d00 Define elements 2012-11-14 18:51:00 -05:00
Tom MacWright
e46a842691 Add save button, eliminate stale styles 2012-11-14 18:40:21 -05:00
Tom MacWright
df4c14d12b Fix tiles for intermediate zooms 2012-11-14 18:10:39 -05:00
Tom MacWright
90a394861f Tile API requests. Fixes #15 2012-11-14 18:09:54 -05:00
Tom MacWright
5b4449572b Transforms-based panning 2012-11-14 16:43:04 -05:00
Tom MacWright
25c80311c1 Simpler, faster line generation. 2012-11-14 16:21:45 -05:00
Tom MacWright
0921f90ad0 Transforms performance 2012-11-14 16:07:20 -05:00
Tom MacWright
f0d21b9147 Separate out fills as well. 2012-11-13 22:59:22 -05:00
Tom MacWright
35ee548487 Add makefile and lodash. 2012-11-13 22:04:10 -05:00
Tom MacWright
3b255c1fe9 Remove unused files 2012-11-13 21:59:19 -05:00
Tom MacWright
f40e12ba1d Fix dragging nodes that are members of multiple ways 2012-11-13 21:45:04 -05:00
Tom MacWright
4bc8313157 Fix tests 2012-11-13 21:23:23 -05:00
Tom MacWright
611c4584d9 More notes 2012-11-13 21:20:39 -05:00
Tom MacWright
fe13432fb4 Ways can now continue from other ways. 2012-11-13 18:34:34 -05:00
Tom MacWright
81df223511 Bevel join lines 2012-11-13 17:57:02 -05:00
Tom MacWright
2076616063 Always-on handles, start intersecting elements again, fetch elements
early
2012-11-13 17:53:06 -05:00
Tom MacWright
41b0678f05 Clickable road casings, trying to fix road drawing logic 2012-11-13 14:33:52 -05:00
Tom MacWright
fb6a7658c6 Better active state for areas 2012-11-13 12:33:06 -05:00
Tom MacWright
23a0470f44 Add background circles for POIs, better select states for them. 2012-11-13 12:29:59 -05:00
Tom MacWright
fecf75a668 Add minimum-possible taginfo powered help. 2012-11-13 12:09:43 -05:00
Tom MacWright
42b6f04a35 Tune up road drawing 2012-11-12 18:55:33 -05:00
Tom MacWright
c93b2fde82 start to fix road drawing again 2012-11-12 18:34:02 -05:00
Tom MacWright
f8784b746f Better unknown icon, select features after adding them. 2012-11-12 18:04:10 -05:00
Tom MacWright
335fd49cec Fix downloading 2012-11-12 17:38:09 -05:00
Tom MacWright
89dded9967 Improve poi finding performance, update map style 2012-11-12 17:36:23 -05:00
Tom MacWright
c41cb34e23 Do is a reserved word, jshint is displeased. 2012-11-12 13:44:12 -05:00
Tom MacWright
88021b721a Merge branch 'master' of github.com:systemed/iD 2012-11-12 13:40:21 -05:00
Tom MacWright
84c5345cee Map performance improvements 2012-11-12 13:40:17 -05:00
Tom MacWright
a385f29e81 Merge pull request #71 from jfirebaugh/master
Preserve Entity immutability
2012-11-10 07:27:02 -08:00
John Firebaugh
3b8d640cfb Preserve Entity immutability
Reintroduced an Entity class. Entity mutations will be
expressed as methods that return a new Entity.

Extract a move operation from the drag behavior. Instead
of updating an entity in place, the drag event produces
a new entity and graph and replaces the current history
version, which was created by doing a noop on dragstart.

pdata is no longer used. It was previously removed from
Graph, and I think it makes more sense to have a specialized
Entity class as well.
2012-11-09 18:58:16 -08:00
John Firebaugh
b3f3d0eff4 Local graph variable 2012-11-09 17:43:25 -08:00
John Firebaugh
59ce3f0ee8 Remove unused argument 2012-11-09 17:42:09 -08:00
Tom MacWright
3fc52a1750 Merge pull request #70 from jfirebaugh/refactor
Preserve Graph immutability
2012-11-09 17:05:54 -08:00
Tom MacWright
2e6ab17a83 Merge pull request #69 from jfirebaugh/constructors
Use instanceof trick for consistent construction style
2012-11-09 17:04:10 -08:00
John Firebaugh
13ea3325ee Preserve Graph immutability
The connection calls back with a Graph, rather than
updating the one passed in the constructor in-place.

History takes care of merging the new Graph into each
version. (If we used prototype-based sharing, we could
instead update a single special-case mutable root entity
map.)
2012-11-09 17:01:06 -08:00
John Firebaugh
e403571370 Clone and manipulate entities directly 2012-11-09 16:51:46 -08:00
John Firebaugh
7f2dc815cd Use instanceof trick for consistent construction style
Fixes #67.
2012-11-09 16:33:47 -08:00
Tom MacWright
f65fe201d0 Remove UI 2012-11-09 11:23:33 -05:00
Tom MacWright
ff836560d0 Merge pull request #68 from jfirebaugh/refactor
Refactoring Graph manipulation
2012-11-09 04:28:58 -08:00
Tom MacWright
b9b3761896 Merge pull request #66 from jfirebaugh/formats
Missing file
2012-11-09 04:27:00 -08:00
John Firebaugh
c9c40311e7 Refactoring Graph manipulation
Extract iD.History from Graph. History is a versioned
series of Graphs that knows how to do, undo, and redo.

Graph holds entities and an annotation. A parallel array
of annotations in history is no longer necessary.

Operations no longer need a map object to be threaded
through.

Fixed #65.
2012-11-08 21:42:10 -08:00