"panning" refers to the rotation in a horizontal plane of an object or viewport.
Questions tagged [pan]
453 questions
0
votes
1 answer
D3js zoom does not work
I can not make zoom work. Tried everything.
My goal:
zoom on mouse scroll
drag the tree by a mouse
The code is here:
svg = d3.select("#tree-container")
.append("svg").attr("width", width)
.attr("height", height)
.call(zm =…

itsnikolay
- 17,415
- 4
- 65
- 64
0
votes
1 answer
Achartengine axis overlap on the top and bottom
When I try to pan the line of the timechart the chart the line able to move under the axis x.
The left-right side works, the top-bottom doesn't.
I don't set axis parameters, i think it should work without any manual settings, like the other side..

user3219581
- 11
- 2
0
votes
1 answer
Move (zoom and pan) around a large Canvas
I have a lot of images placed on a canvas (~150 pages converted PDF).
I would like to be able to move around from one region to another of this canvas by animating the movement (zoom and pan).
My animation keys are in a listbox. I have a "play"…
0
votes
1 answer
UIPageViewController set additional actions on pan/swipe
I use an UIPageViewController to pan between three views.
I want to blur the background of the third view when I pan from the second to the third view (and vice versa).
Therefore I have attached an additional UIPanGestureRecognizer to the second…

noXare
- 29
- 1
- 2
0
votes
2 answers
D3 geometric zoom when there is no SVG element under the cursor
I am implementing a geometric zoom behaviour as seen in this example
The problem is that if the cursor is on a white spot outside the green overlay rect or any other SVG element (line, circle etc.) the mousewheel event gets intercepted by the…

Tibor Udvari
- 2,932
- 3
- 23
- 39
0
votes
1 answer
PyGame-Debug request: "Jumping" image when panning
I'm trying to create a little "interactive map". Now I'm stuck with the first few step already what's not much of a good omen :D
Basically I have a JPG that's bigger (3000x3000px) than the actual game window (1024x768px). Now, if you click and move…

Patric Hartmann
- 738
- 7
- 24
0
votes
1 answer
How to implement panning using css translate?
I'm trying to implement pan on a viewport, when the mouse is dragging on the container its element inside should move the problem is every time I start dragging the element resets to its first position.
Also the element inside inherits the event…

shuji
- 7,369
- 7
- 34
- 49
0
votes
1 answer
d3 collapse tree zoom and pan - jumpiness after clicking a node
If I zoom/pan after I clicked a node my scaling and zooming jumps back to original position.
Here is my zooming function:
zoom: function() {
var scale = d3.event.scale,
translation = d3.event.translate,
tbound = -h * scale,
bbound = h *…

freeFoodFred
- 23
- 1
- 10
0
votes
3 answers
Invalid Argument Error in Jquery gzoom plugin
I am using a Jquery plugin named Jquery gzoom. It's very nice script but when I test it in IE. The script show the Invalid Argument Error. The error only shows in IE.
I am wondering if anyone can figure about where in the script cause the…

ling cao
- 21
- 3
0
votes
1 answer
How to zoom animation after pan cocos 2d iphone
I want to show zoom animation after pan.
- (void) didLoadFromCCB
{
self.anchorPoint = ccp( 0.9, 0.9 );
self.scale = 1;
}
- (void) update:(ccTime)delta
{
float posX = self.position.x;
float posY =…

Susitha
- 3,339
- 5
- 27
- 41
0
votes
1 answer
Google Maps Pan between markers
I have multiple markers on a map that I want the ability to pan between. The idea being that if you click Marker 1 it will pan to Marker 1 being centered, and then if you click Marker 2 it will pan from Marker 1 to Marker 2. I've got the pan to work…

koloskus
- 39
- 1
- 7
0
votes
2 answers
Pinch Zoom and Pan
I have an activity with LinearLayout as its main Layout. In that layout, there is a button that adds a View (R.layout.motor_block) to the main layout (R.id.layout):
LayoutInflater inflater =
(LayoutInflater)this.getSystemService(…

Sochimickox
- 135
- 1
- 2
- 9
0
votes
1 answer
Implementing Pan and Zoom
I have relative layout in XML. On a button press I am adding Views ti it:
LayoutInflater inflater =
(LayoutInflater)this.getSystemService( Context.LAYOUT_INFLATER_SERVICE );
View iv = inflater.inflate( R.layout.motor_block, null );
…

Sochimickox
- 135
- 1
- 2
- 9
0
votes
1 answer
How can I get gesture metrics (GESTUREMETRICS) info on Windows 8 Desktop
Windows embedded and mobile allow one to use the SystemParametersInfo function to retrieve a GESTUREMETRICS structure (http://msdn.microsoft.com/en-nz/library/ee500273.aspx) which gives the threshold and timeouts for various touch screen gestures…

djp
- 636
- 3
- 13
0
votes
2 answers
JavaFX ScrollPane: disable panning for touch events
I have a problem with a ScrollPane. I want to disable the panning. For the mouse it's very easy because of the setPannable(boolean) function. But that doesn't disable the panning for touch events. So is there a way to disable panning for touch…

Peter Lewerenz
- 1
- 1