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
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
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
John Firebaugh
464b387040
Bail out of translate3d in Opera
2013-04-26 17:46:19 -07:00
John Firebaugh
99fe5f615d
Use translate3d
2013-04-26 17:40:45 -07:00
John Firebaugh
62e53fc98b
Transform supersurface on pan/zoom
2013-04-26 17:40:45 -07:00
John Firebaugh
14b79d068e
Merge branch 'perfect-resampling'
...
Conflicts:
js/id/renderer/map.js
2013-04-26 17:35:04 -07:00
John Firebaugh
6941d1914b
Perfect oneway markers
2013-04-26 17:33:01 -07:00
John Firebaugh
86988a09a3
Fix vertex rendering
2013-04-25 15:43:16 -07:00
John Firebaugh
7d66e03c0b
Redraw hovered vertices more efficiently ( #1377 )
2013-04-25 13:53:31 -07:00
John Firebaugh
78aee5b6aa
Fix tests
2013-04-23 20:09:36 -07:00
John Firebaugh
1d5b13c45d
Don't draw when not editable
2013-04-23 17:52:09 -07:00
John Firebaugh
d31fa9ae70
Don't redraw vertices during pan/zoom transform
2013-04-23 17:31:53 -07:00
John Firebaugh
a2f86154ce
Also show vertices on hover in draw modes
2013-04-23 16:52:32 -07:00
John Firebaugh
66551ba903
Show vertices only for selected way ( #1022 )
2013-04-23 16:52:02 -07:00
John Firebaugh
20150cb9d4
Avoid retaining a graph reference
...
The supersurface event bindings retained a reference to the initial
graph, preventing it being GC'd after a save operation.
2013-04-20 15:18:14 -07:00
John Firebaugh
c8dcba31ad
Auto-zoom to entity specified by id param
2013-04-18 14:24:10 -07:00
John Firebaugh
77ce20c8c1
Add configurable image path
2013-04-16 17:20:21 -07:00
John Firebaugh
fb16dc8af6
Custom d3 3.1 build ( fixes #1232 )
2013-04-02 15:00:32 -07:00
Ansis Brammanis
691156caec
fix flash style
2013-04-02 14:19:02 -04:00
Ansis Brammanis
2f04868770
add support for overlay layers
...
This is mostly added for the Tiger2012 road overlay
2013-03-29 16:42:53 -04:00
Ansis Brammanis
e9244159dc
fix midpoint redrawing
...
Midpoints weren't being redrawn when the way was deleted
but both edge nodes still existed in other ways.
2013-03-28 18:30:10 -04:00
Ansis Brammanis
4a2cb9841d
fix nudging during move operation
2013-03-28 15:03:31 -04:00
Tom MacWright
51d915c8a6
Refactoring and fixing layers
...
* Fixed opacity control
* Reorganize layer switcher
* Add GPX item to menu
* Allow user to cinch to GPX extent
Needs:
* Moderate refactoring
* Possibly a specific 'layerchange event'
* Dropping GPX on the map should be a behavior, probably, instead of in
the layer
* Layers, if we want them, should be named rather than just have list
indices
* A better icon for zoom to extent and for that icon to be properly
placed
2013-03-20 15:59:15 -04:00
Tom MacWright
c94ec3b4a9
Local GPX file support, first push towards multilayer support.
2013-03-19 18:41:16 -04:00
Ansis Brammanis
6e0925003c
add Maki icons to areas
2013-03-15 13:57:08 -04:00
John Firebaugh
3787185182
Rendering tagged points
...
At z16 and below, tagged points are rendered with a small
dot in the center. At z17 and above, they are rendered with
a maki icon.
See the test rendering page for examples.
Fixes #381 .
2013-03-13 17:31:25 -07:00
John Firebaugh
60ff6fc021
Use maki icons for points ( fixes #881 )
2013-03-08 20:22:06 -08:00
Tom MacWright
0fafa340fe
Start using d3 3.1.0
...
Update d3, use streams, d3.set, clip
Use clipping, fix side effects
2013-03-07 17:45:16 -05:00