Commit Graph

414 Commits

Author SHA1 Message Date
John Firebaugh 12769d2fc1 Calculate background source name (fixes #1935) 2013-10-29 16:13:40 -07:00
John Firebaugh 1e78ee5c87 Stricter jshint 2013-10-24 16:08:48 -07:00
John Firebaugh 8323c948a7 jshint fixes 2013-10-24 15:33:52 -07:00
John Firebaugh f9eaed7fb9 Add clipping back 2013-10-21 16:04:59 -07:00
John Firebaugh bd1fac9c48 Fix test failure 2013-10-21 16:04:59 -07:00
John Firebaugh 382bd2abd8 Use actual projection 2013-10-21 16:04:59 -07:00
John Firebaugh 22e453eae5 Use d3.geo.mercator.raw
This bypasses a number of features of D3's default projection
stream pipeline that are unnecessary:

* Antimeridian clipping
* Spherical rotation
* Resampling

This also disables viewport clipping of lines -- I'll add it
back in a separate step.
2013-10-21 16:04:59 -07:00
John Firebaugh a5311b5f6c Show attribution for overlay layers (fixes #1909) 2013-10-21 12:31:48 -07:00
John Firebaugh a9964589fc Add a button to trigger file browser for GPX (fixes #1758) 2013-10-15 13:15:35 -04:00
Aaron Lidman 1899eb361c Add None tile layer
Fixes #1472
2013-10-14 12:08:36 -04:00
John Firebaugh 844c11df63 Clean up 2013-09-25 14:46:12 -07:00
SJohnson 0790cf7423 Added the ability to load points from gpx files and display on the map 2013-09-25 14:42:58 -07:00
John Firebaugh 6a3d62e57c Fix tests 2013-08-28 11:01:16 -07:00
John Firebaugh 8a215cac81 Add "Continue" operation 2013-08-28 09:30:28 -07:00
John Firebaugh 57cfe50ec7 Support {-y} notation 2013-08-27 17:28:28 -07:00
John Firebaugh e30531277d Support polygon imagery bounds
Fixes #768
2013-08-27 11:25:11 -07:00
John Firebaugh 4e8cb0b97f Pull imagery from editor-imagery-index 2013-08-27 11:07:46 -07:00
John Firebaugh f3c6f3eca4 Optimize use of iD.svg.Points.points 2013-08-26 15:54:58 -07:00
John Firebaugh 77985d65f8 Exclude Locator Overlay from imagery_used 2013-08-23 12:51:58 -07:00
John Firebaugh d9142271ac Add default "Locator Overlay" layer
A layer that is by default visible at <z16 and can
orient you with major roads, cities, borders, etc.

Fixes #1301
2013-08-22 12:53:57 -07:00
John Firebaugh 0180367399 Refactor BackgroundSource 2013-08-22 12:53:57 -07:00
John Firebaugh 7b2eaa2fd8 Remove unused 2013-08-22 11:00:14 -07:00
John Firebaugh 010c8c7d7d Reset fastMouse after changing dimensions
Fixes #1678
2013-08-12 13:09:53 -07:00
John Firebaugh 476509111f Fix "Custom" radio button state 2013-07-25 11:58:11 -07:00
John Firebaugh 5f02f348de Include GPX and overlay layers in imagery_used
Fixes #1463
2013-07-25 11:51:55 -07:00
John Firebaugh 7f3f648c1c Support multiple overlays in hash 2013-07-25 11:29:31 -07:00
John Firebaugh 1168053cc2 Coalesce multi-extent imagery sources 2013-07-25 11:14:53 -07:00
John Firebaugh 5e64f6b95d Support multiple overlay layers 2013-07-15 14:05:11 -07:00
John Firebaugh 734d53e08b Refactor background in preparation for multiple overlays 2013-07-15 14:05:11 -07:00
John Firebaugh ab566c8fa7 Respect tile layer minimum scaleExtent
Rather than attempting to render an exponential number
of tiles for each z less that the minimum, render none.
2013-07-12 15:44:59 -07:00
John Firebaugh bba761d8ea size -> dimensions
D3 3.2 adds selection.size, where size means "number
of selected elements".
2013-06-20 13:05:20 -07:00
John Firebaugh 0689ab7f71 Restore differenced point rendering (#569, #1604) 2013-06-18 16:23:02 -07:00
John Firebaugh e6cc20efb5 Faster Feature List (fixes #1604) 2013-06-18 15:19:04 -07:00
John Firebaugh d03402c6df Fix feature list 2013-06-17 16:15:13 -07:00
John Firebaugh 9190a25220 Show only visible features in list 2013-06-17 15:44:14 -07:00
John Firebaugh e339bd5df3 Fix tile overzooming 2013-06-12 16:49:50 -07:00
Tom MacWright 0a91918622 Support TMS-flipped Y coordinate with {ty} replacement. 2013-06-10 17:42:31 -07:00
John Firebaugh d79b618947 Optimize feature list 2013-06-05 10:20:00 -07:00
John Firebaugh 1d7e168763 Don't need a separate 'select' event 2013-06-03 16:49:01 -07:00
John Firebaugh fe38a47a3c Fix URL template host rotation
It was sending all tiles at a given zoom to the same host.
2013-05-28 18:46:15 -07:00
John Firebaugh da00413632 Fix zoom-to-feature annoyances
* Zoom to feature only if map parameter isn't also
  specified.
* Don't zoom too far in (>z20). Fixes #1511.
* Don't zoom too far out (<z16). Fixes #1522.
2013-05-24 21:47:49 -07:00
John Firebaugh 67d95595ba Points always need full re-render (#569) 2013-05-20 12:05:31 -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 5c9c865f12 Move flush to context 2013-05-18 09:20:57 -07:00
John Firebaugh 8e05ed271d Simplify 2013-05-17 16:43:40 -07:00
John Firebaugh 8b4ef90992 Revert "Add URL flag for translate3d"
This reverts commit 228dfbe993.
2013-05-17 16:37:21 -07:00
John Firebaugh 97d74b2846 Remove entity length condition
Rendering performance stalls before this limit anyway.
2013-05-17 16:30:54 -07:00
John Firebaugh 1cfeba3da4 Don't draw offscreen vertices (fixes #1494) 2013-05-16 15:28:50 -07:00
John Firebaugh 2045d884c6 Set projection precision to 0
Might fix #1270
2013-05-15 15:35:54 -07:00
John Firebaugh d238e4eaeb Convert Tail to a behavior
This avoids an extra mousemove listener in base modes.
2013-05-14 17:51:24 -07:00