Commit Graph

195 Commits

Author SHA1 Message Date
Tom MacWright d904d22c57 Comments and docs 2012-11-07 15:44:06 -05:00
Tom MacWright 08ed9c5af2 Remove operation, hooked into inspector 2012-11-06 17:35:56 -05:00
Tom MacWright f00ad5b169 Fix dragging ways, add way method to connection 2012-11-06 17:22:46 -05:00
Tom MacWright 26d093ee1d Fix id, use full names for removing events 2012-11-06 16:51:24 -05:00
Tom MacWright 2b38b38313 Fixup tests 2012-11-06 16:23:50 -05:00
Tom MacWright d38c2739ab Remove entity, dragdrop config, and uuid 2012-11-06 14:29:33 -05:00
Tom MacWright c9aa40a38d Prefix ids for objects, separate counters for new objects of each type 2012-11-06 14:12:40 -05:00
Tom MacWright 50f8e7f224 Prefer assignment over push
jsperf made me do it http://jsperf.com/array-direct-assignment-vs-push/5
2012-11-06 12:43:27 -05:00
Tom MacWright 525f9fdc51 Support changing tags 2012-11-05 16:24:06 -05:00
Tom MacWright 4d6c54b87e Mark new things as modified 2012-11-05 16:10:46 -05:00
Tom MacWright 2ee2b1cf46 Starting road drawing. Has bugs but exists. 2012-11-05 16:10:21 -05:00
Tom MacWright 2340b89921 Use querystring-style hash 2012-11-05 15:16:00 -05:00
Tom MacWright 2b1df4a2d2 First shot at magical extra fields for inspector 2012-11-05 14:57:21 -05:00
Tom MacWright 9101aa8772 First working revision of undo redo 2012-11-05 14:23:01 -05:00
Tom MacWright 812aff870e Avoid trying to derive points which are not loaded 2012-11-05 13:39:06 -05:00
Tom MacWright 035869d971 Resurrect handle functionality. But this does not yet update data
correctly.
2012-11-05 13:28:58 -05:00
Tom MacWright 84e54112e1 Display undo title in button 2012-11-05 13:21:24 -05:00
Tom MacWright 91cb8cd83e Remove augmentSelect hack. 2012-11-05 11:58:59 -05:00
Tom MacWright 81cb5eaad1 Fixup handles, add unknown graphic. 2012-11-05 11:52:52 -05:00
Tom MacWright 15b2ec0fa6 Fix point positioning 2012-11-05 11:32:23 -05:00
Tom MacWright e7a895c884 Re-introduce idea of operations, add 'add node' operation 2012-11-05 11:23:50 -05:00
Tom MacWright c8b5e238b3 Use simple objects for data, simplify graph 2012-11-05 10:48:58 -05:00
tyrasd 264119ea99 fixed typo (semicolon instead of comma in var[iables] definition) 2012-11-03 17:43:04 +01:00
Tom MacWright ed0795b2f4 Reimplement fetch 2012-11-02 18:19:55 -04:00
Tom MacWright 49205a9bce Fix zooming then dragging 2012-11-02 17:37:57 -04:00
Tom MacWright 9edc918b57 Add uuid 2012-11-02 17:36:42 -04:00
Tom MacWright c2a46eca33 Restyle 2012-11-02 17:35:34 -04:00
Tom MacWright b9acb41321 Escape actions with the escape key 2012-11-02 16:32:36 -04:00
Tom MacWright c27aba6500 Comment out intentions 2012-11-02 16:19:57 -04:00
Tom MacWright 4df2712906 Update actions, highlight modes 2012-11-02 16:17:57 -04:00
Tom MacWright f7d881ad60 Reorganize, update notes 2012-11-02 16:00:11 -04:00
Tom MacWright 8ba279f659 Prior art 2012-11-02 14:30:17 -04:00
Tom MacWright 4c90bf44d5 Indicate support, take DOM elements as input. Fixes #55. 2012-11-02 14:14:47 -04:00
Tom MacWright a2005aaaee Cleanup, document. 2012-11-02 13:56:18 -04:00
Tom MacWright 5cec40c808 Refactor, clean up map 2012-11-01 17:51:18 -04:00
Tom MacWright 8780805506 Indirection for IDs 2012-11-01 17:39:03 -04:00
Tom MacWright b9e9331064 Make style code faster 2012-11-01 17:38:47 -04:00
Tom MacWright 24922d401a Fix marker rendering, complete Way XML output, work on Node XML output. 2012-11-01 16:04:24 -04:00
Tom MacWright c3422fdb33 Initial serialization in JS 2012-11-01 12:33:24 -04:00
Tom MacWright b2e780c4c9 Reorganize inspector 2012-11-01 12:00:27 -04:00
Tom MacWright affb49e3ba Optimize tiling, turn opacity back up on tiles 2012-11-01 11:22:51 -04:00
Tom MacWright 2e39f47d36 Throttle hash changes 2012-11-01 10:59:56 -04:00
Tom MacWright 75d9331233 Start traversing the graph, other changes
Adds GeoJSON viewing to features, unifies the way that features refer
to their children.
2012-11-01 10:55:33 -04:00
Tom MacWright beeef7a561 Clarify how connections have graphs, don't build big arrays in memory 2012-10-31 22:58:13 -04:00
Tom MacWright ee9b46c221 Use numerical IDs to save memory 2012-10-31 22:45:03 -04:00
Tom MacWright ecbbedadee Hash locations, Fixes #36 2012-10-31 22:21:41 -04:00
Tom MacWright 9f00f0fee2 Add map resize API, bind to window onresize event. Fixes #39 2012-10-31 21:57:15 -04:00
Tom MacWright 8bca85d3b2 Entity as a mixin rather than a sub-object. 2012-10-31 21:07:29 -04:00
Tom MacWright a1b1df504b Refactor style, abstract id references
This is the first commit that really goes whole hog in terms of
creating an object graph. It's quite close, though it could be faster
in a lot of ways.
2012-10-31 19:05:43 -04:00
Tom MacWright 7154b68b71 Move graph out of connection, move more logic to Util, update tests. 2012-10-31 18:17:54 -04:00