Commit Graph

404 Commits

Author SHA1 Message Date
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
John Firebaugh
16e05fd657 Revert "Don't use :active pseudo-class"
Now seeing this cause poor pan performance.

This reverts commit 9fafd6b56a.
2013-05-13 14:16:14 -07:00
John Firebaugh
21a51be56a Only redraw vertices when selection changes
Fixes #1395
2013-05-13 12:53:03 -07:00
John Firebaugh
fcafce7517 Really fix area drawing 2013-05-13 12:19:51 -07:00
John Firebaugh
9fafd6b56a Don't use :active pseudo-class
It's slow (500 ms recalculate style vs 1ms).
2013-05-13 09:49:29 -07:00
John Firebaugh
228dfbe993 Add URL flag for translate3d 2013-05-10 17:43:53 -07:00
John Firebaugh
1641f38632 Use context.mouse() 2013-05-09 21:55:05 -07:00
John Firebaugh
bb487ba0ee Use fastMouse 2013-05-09 21:55:05 -07:00
John Firebaugh
1b72bba425 Workaround Opera SVG event dispatch bug
Opera will not dispatch mouse events to an absolutely
positioned SVG element:

http://bl.ocks.org/jfirebaugh/6fbfbd922552bf776c16

We need layers to be absolutely positioned in order to
obtain the correct positioning and z-order simultaneously.
Therefore we must wrap the SVG in a div and absolutely
position that instead.

Fixes #1416.
2013-05-09 14:50:51 -07:00
John Firebaugh
79ae9346e7 Simplify layer structure
Also, always give SVG elements an explicit size -- seems
to be necessary for Firefox to render them correctly.

Fixes #1436.
2013-05-08 13:10:55 -07:00
John Firebaugh
786c2ab540 Cache transform status 2013-05-01 09:44:49 -07:00