Questions tagged [panning]

"panning" refers to the rotation in a horizontal plane of an object or viewport.

"panning" refers to the rotation in a horizontal plane of an object or viewport. This is a term usually applies to cameras (or the viewport, in computer terms).

206 questions
5
votes
1 answer

Multi-Touch Panning with Hammer.js

I'm having difficulties implementing multi-touch panning with hammer.js. Panning events are only fired with single pointers. If I try to drag with two fingers it does not fire until I release at least one finger. Do I have to do something special to…
Daniel
  • 597
  • 11
  • 19
5
votes
1 answer

Pan an Image with Left Click: Rate of Scroll is faster than Mouse (.NET)

The goal is to pan a form or image on the form when left clicking, and dragging the mouse. The below code works perfectly fine for my needs, but there is only one issue. When I left click and drag the mouse, the form pans quicker than the mouse,…
Mike
  • 235
  • 3
  • 15
5
votes
1 answer

Zoom and pan in animated HTML5 canvas

I have a map. I want a user to be able to zoom and pan the map. Imagine Google Maps, but instead of being infinitely pannable, the map is a square (it doesn't wrap around again if you go past the edge of it). I have implemented zoom and pan using…
David John Welsh
  • 1,564
  • 1
  • 14
  • 23
5
votes
1 answer

D3 - How to get correct scale and translate origin after manual zoom and pan to country path

I've got a topology map with pan and zoom functionality. Clicking on the country, I'm zoom/panning into the country, using this: if (this.active === d) return var g = this.vis.select('g') g.selectAll(".active").classed("active", false) …
bcm
  • 5,470
  • 10
  • 59
  • 92
5
votes
1 answer

simple WPF panning; this code is close but not quite right

I'm attempting to perform some simple panning on a WPF Canvas object with its RenderTransform. I expect to be able to hold a mouse button down and drag. Using the following code, there's a strange hop right when you click. What causes that? Second,…
Brannon
  • 5,324
  • 4
  • 35
  • 83
5
votes
5 answers

UIScrollView with touchesMoved not called

I've a UIScrollView that contains an UIImageView. The UIScrollView lets zooming and panning through the UIImageView. The problem is that I would like know the finger movement every time, and I'm trying to catch the event with touchesMoved…
user1573607
  • 522
  • 9
  • 23
5
votes
1 answer

Building a zoom-able / pan-able container

I am trying to make a ViewGroup which supports panning and zooming of its contents. All I could find online was ideas and implementations to do so in an ImageView, but never a container. I want to display a map, and on top of it I want to display…
SoManyGoblins
  • 5,605
  • 8
  • 45
  • 65
4
votes
1 answer

Pan + Zoom HTML5 canvas grid with pinned first column

I'd like to create a HTML5 canvas grid with a pinned first column (MS Excel has a similar option). Up to now I've been able to create the following: http://jsfiddle.net/dobbylan/AbnpE/ I have added Pan + Zoom functionality based on Phrogz's posting…
Dobbylan
  • 61
  • 2
  • 7
4
votes
1 answer

How can I use react-zoom-pan-pinch to allow users to view all of a chart that changes size based on user input?

I've designed and built an interactive Org Chart that allows users to view business organizations in a hierarchical format. By default only the first row below the root node of the chart is visible, but users can click to expand the chart further,…
toodles
  • 103
  • 2
  • 7
4
votes
1 answer

Panning in Highcharts will not allow to go back to the max of the xAxis

I have a Highcharts chart which uses panning: true and sets min and max on the xAxis to provide the initial view together with historical data in the past as part of the data-series. Initially panning works fine and I can go back in time, nice.…
centic
  • 15,565
  • 9
  • 68
  • 125
4
votes
1 answer

MapView panning and zooming is slow after adding many Overlays

So I've spent a good amount of time attempting to figure out how to speed this up, but I'm out of ideas now. I have a class, mapPopup in which a MapView is displayed over the entire screen. There is an array of an array of GeoPoint in mapPopup, and…
Brian Ecker
  • 2,017
  • 1
  • 21
  • 30
3
votes
2 answers

Can Google Maps be set to a slow constant pan? Like a globe revolution?

Just what the title says. I am searching for a solution but I have not found anything that has guided me to the correct documentation or articles. If you have any ideas or can point me to a possible solution I can work with, it would be greatly…
Bill Bonar
  • 1,017
  • 2
  • 10
  • 22
3
votes
1 answer

Charting Library for Windows Phone 7 with Zooming & Panning?

I'm looking for a Silverlight charting library to use in my Windows Phone 7 project to visualize 50-100 data points. I'd like the series to be zoomable and pannable and be able to attach to these events. I've so far looked at the Silverlight Toolkit…
JohnC
  • 340
  • 1
  • 2
  • 7
3
votes
1 answer

FabricJS - disable panning viewport -x -y axis

if the mouse goes out of canvas and mouse move in -x -y axis , I want disable pan. how can i disable viewpoint -x -y axis. this is my code. var panning = false; canvas.on('mouse:up', function (e) { if (isPaningMode) { panning = false; …
Erdem Aydemir
  • 389
  • 1
  • 6
  • 26
3
votes
0 answers

Moving hotspots i.e View over scaled & panned Image.

I have been working on for panning the image in a container for which I am using TouchImageView. What I am trying to achieve is that I want to translate some other view with respect to the amount of panning i.e translation made. Below is the…
Manoj
  • 2,799
  • 5
  • 30
  • 49
1
2
3
13 14