Bryan Housel
6d82ae4146
add iD.geo.Extent#contains
2015-02-06 13:56:51 -05:00
Bryan Housel
d5ecd5d52d
add deep equals to extent
2014-10-28 21:37:03 -04:00
John Firebaugh
69af20e44d
Add mutating extent extend, for performance
2014-10-13 16:34:38 -07:00
Guillaume Carbonneau
96fa48faad
fix for the failures under safari/webkit
2014-10-09 16:29:11 -04:00
Bryan Housel
874a3e2ad6
disable Move and Rotate operations if area < 80% contained in the viewport
...
see #542 .
Also included:
1. DRY up code for "% contained in" extent testing.
2. If action.disabled() returns a better reason, show that instead of the too_large one.
2014-07-11 17:11:50 -04:00
Bryan Housel
2723c65506
refactor dLat/dLon <-> meters calcs and use slightly better WGS84 constants
2014-06-23 16:23:04 -04:00
Bryan Housel
c316f87c6f
Fix buggy padByMeters (PI/180 is needed here)
2014-06-20 18:01:53 -04:00
Bryan Housel
1df54a700a
Disable circularize and orthogonalize operations when way is <80% contained in the viewport
2014-03-27 22:47:34 -04:00
John Firebaugh
8323c948a7
jshint fixes
2013-10-24 15:33:52 -07:00
John Firebaugh
e30531277d
Support polygon imagery bounds
...
Fixes #768
2013-08-27 11:25:11 -07:00
John Firebaugh
1db99586c4
Render only new features when a data tile is loaded
2013-05-20 12:05:31 -07:00
John Firebaugh
d2e775ac65
Use correct changesets URL for dev
2013-05-19 20:11:41 -07:00
Ansis Brammanis
579e6a8a8b
geolocation sets zoom based on accuracy
...
fixes #1375
2013-04-25 11:04:22 -04:00
Tom MacWright
61d7ec45b5
Banish function ( style
2013-02-12 16:35:47 -05:00
Tom MacWright
afcb1837e7
Only do extent build if necessary
2013-02-08 11:36:25 -05:00
Tom MacWright
054ecae5c9
Avoid new indirection with extent
2013-02-07 22:55:21 -05:00
Tom MacWright
b6551e8db0
Name geo constructor so it is profilable
2013-02-07 22:41:47 -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