Commit Graph

422 Commits

Author SHA1 Message Date
Vladimir Agafonkin
fc92f34eab dry up code for CSS transforms 2014-01-08 19:55:27 +02:00
John Firebaugh
3f67b1e513 Adjust fix for #2040 2013-12-10 10:17:25 -05:00
Adam Solove
4294ed4561 Fix midpoint missing after undoing split. (#2040) 2013-12-09 20:49:54 -05:00
Vladimir Agafonkin
d2df161575 Fix trembling on zoom in
As you zoom in, the rounding error in translate was multiplied by scale
because it was applied post-translate (which was rounded). This seems
to fix the issue.
2013-11-26 12:51:23 -08:00
Vladimir Agafonkin
da3bf77c35 fix pan/zoom lags in Chrome before/after move
Previously, the surface switched between HW-accelerated and
non-accelerated state due to resetting transform property to ‘’ (while
translate3d triggers HW), which caused lags in Chrone
2013-11-26 11:21:09 -08:00
John Firebaugh
4b3db596d7 Remove unnecessary no-op pans 2013-11-22 10:52:58 -08:00
tyr
a3d44789f6 rudimental support for providing gpx-files via urls
see #1965 (esp: https://github.com/systemed/iD/issues/1965#issuecomment-29045054)
2013-11-22 13:32:08 +01:00
John Firebaugh
e382943f0d Use .low-zoom class rather than hard-coding z16 2013-11-01 11:17:49 -07:00
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