Commit Graph

7 Commits

Author SHA1 Message Date
Tom MacWright b24d03a583 Optimize iD.geo.dist, fixes #685
See benchmark: http://jsperf.com/id-dist-optimization
2013-02-08 09:46:04 -05:00
John Firebaugh fe49e8fb77 Pass around context rather than map 2013-02-01 12:40:16 -05:00
John Firebaugh 5ea855e18d Replace Graph#fetch with Graph#childNodes
Having two kinds of Ways (fetched and non-fetched)
introduced some accidental complexity. This brings things
more in line with how parentWays/parentRelations work.

Fixes #73.
2013-01-25 15:10:44 -05:00
Ansis Brammanis d14fdfa828 Remove geo.centroid(), use d3's instead 2013-01-23 18:39:14 -05:00
Ansis Brammanis b0de58b455 Fix merge (util.geo -> geo) 2013-01-23 16:29:52 -05:00
John Firebaugh c263ebd4dc iD.util.geo => iD.geo 2013-01-22 18:20:20 -05: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