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
1
vote
1 answer

OpenLayesr map 4 Panning/Dragging is not working in C# project

I am developing a desktop project using Visual Studio and C# and I have an Open Street Map in my application. Everything is working good expect panning with mouse. I search a lot on Google and stack-overflow but no success, that is why I decided to…
Manish Srivastava
  • 1,649
  • 2
  • 15
  • 23
1
vote
0 answers

How to detect panning in mobile in javascript/jquery?

On my mobile phone, I have a web app, that shows a 3d model in the center of it. I would like it if I could drag my finger horizontally anywhere on screen or vertically anywhere, like panning, and get a value from it, some delta, from start to…
omega
  • 40,311
  • 81
  • 251
  • 474
1
vote
2 answers

Documentary-style image panning with jQuery?

There are several questions about zooming and panning with jQuery, but they all (as far as I can tell) have to do with hooking up the zooming or panning to user behavior, such as mousing or using a slider. I'm interested in something different: any…
user18015
1
vote
1 answer

Custom Panning Handler Javafx

Hello due to issues with the built in panning tool for scrollpane (runs slowly and transitions in chunks rather than fluidly) I am trying to create a custom panning handler. Below is my attempt but the if statement does not work correctly. …
1
vote
1 answer

Smooth Panning in ScrollPane Javafx

I have a scrollPane with pannable enabled. When panning with a large image the transformation "lags" behind the mouse making for a "blocky" transformation. Is there a way to fix this? There is not much code that is really relevant here to post if…
1
vote
1 answer

d3 - Brush/Panning Zoom - disable panning on upper x-axis

I use d3 for plotting line graphs. I implemented a brush/panning zoom after this example https://bl.ocks.org/mbostock/34f08d5e11952a80609169b7917d4172. I want to disable the panning on the upper x-axis. When I click there an drag it triggers the…
cmplx96
  • 1,541
  • 8
  • 34
  • 48
1
vote
1 answer

Which ManipulationMode is suites for panning the custom control in UWP?

I have a custom control(CustomPanel), i set the ManipulationMode as Scale but i can't able to scroll. Which ManipulationMode is suit for scrolling and panning? Please find my custom control.
1
vote
0 answers

Leaflet: pan map to new set of coordinates at new zoom-level on user action

I have a web app with a list of GPS-check-ins from field agents. I would like to pan/zoom the current map/view when a check-in item from the list is clicked. I have setup the leaflet map and click event like so: function checkin_clicked(dt, mobile,…
Charles Okwuagwu
  • 10,538
  • 16
  • 87
  • 157
1
vote
0 answers

Making a draggable map with inertia in XNA C# (Custom framework)

i am trying to make a draggable map with inertia,friction, i'm kindda lost right now example: http://www.emanueleferonato.com/2016/01/18/how-to-create-a-html-draggable-and-scrollable-map-with-inertia-using-phaser-framework/ This is what i have so…
1
vote
1 answer

Clear pageup/pagedown panning values after clear and reload content in wpf richtextbox?

i am working in wpf richtextbox.use the below function use for page up. TextRange range10 = new TextRange(txtAppendValue.CaretPosition.GetLineStartPosition(1), txtptrCaret); FrameworkContentElement fce1 = (range10.End.Parent as…
arjun sanju
  • 135
  • 1
  • 1
  • 12
1
vote
0 answers

Set Current caretposition in viewport Top wpf richtextbox?

I am working in WPF. I want to show current caretposition in viewport top. I already tried the BringIntoView() Method. It works, but it only working moved to hide part. FrameworkContentElement fce = (mycaret.Parent as FrameworkContentElement); if…
arjun sanju
  • 135
  • 1
  • 1
  • 12
1
vote
1 answer

D3 Bounded Panning

I've been at this for a few days now and I can't get this chart to obey panning bounds. Initially, the data could be pulled off the page both negatively and positively, but I've been able to stop the negative by following this blog post. I'll paste…
Will Luce
  • 1,781
  • 3
  • 20
  • 33
1
vote
1 answer

gtk3/gtk2hs: panning in a scrolledWindow "flickers"

I'm trying to get panning behavior on a scrolledWindow in gtk3/gtk2hs similar to a map display like google maps (i was told it's called panning, but the tag description defines it as rotation) (Cursor in scrolledWindow, M1 down) => object in…
1
vote
0 answers

Famo.us: Issue with Dragging and Panning

I added two draggable ContainerSurfaces (dragbox1 & dragbox2) onto another transparent ContainerSurface (panLayer), which is also draggable. This enables panning while also enabling single dragging of the two boxes. This worked in Famo.us 0.2, but…
Mike
  • 13
  • 4
1
vote
0 answers

Is there a way to implement pinch-zoom and panning on an Image without relying on animations?

I’m working with an Image control and I’m trying to implement pinch-zoom and panning. None of the ready-to-go samples on the web, which handles the zoom and pan, worked as smoothly as the native Photos app on Windows Phone or like when viewing an…
Aswin Koliyot
  • 588
  • 1
  • 7
  • 11