Skip to main content
0 votes
0 answers
37 views

Mapbox GL JS - change camera altitude on vertical panning

TL;DR: How to "fly around" a 3D feature like a building or a mountain at some altitude, then go up a little, and fly around it again? To view the map almost like through an onboard camera of ...
mykola.rykov's user avatar
-2 votes
1 answer
70 views

How do I add Listbox as a panedWindow Tkinter GUI?

Can someone show me how I can add a listbox to panedWindow? Take this code for example: can the left-hand window be made into a listbox? from tkinter import * m1 = PanedWindow() m1.pack(fill=BOTH, ...
NMW81's user avatar
  • 1
0 votes
0 answers
80 views

chakra-ui resizes image when dragging it to the right edge of the screen

I'm implementing a simple drag component (based on interaction pane). If I use just img without chakra-ui, I can drag the image beyond the right edge of the scree without any issues.However, if I use ...
vd1's user avatar
  • 21
0 votes
0 answers
44 views

Pan and zoom help needed

I just started my journey to learn coding and doing it on the iPad with Swift playground. I have an audio waveform to which I apply zoom and pan gestures. I’m having a bit of trouble. When I zoom in ...
PAA KOBINA BARTELS CUDJOE's user avatar
0 votes
0 answers
81 views

Image zoom and pan with edge detection

I'm doing this with angular but the question is more generic. I have a div (the container) that is 500x500px (with a blue background). I have a wider zoomable image that is at least (at page load) the ...
G10's user avatar
  • 555
0 votes
0 answers
136 views

How to create grid/pan on Angular like Miro with zoom

I'd like to create a basic diagram app where I can basically create different shapes on a grid. The basic functionalities I'd like to implement are the zoom in zoom out (with a grid as background). ...
trgjk yfojn's user avatar
0 votes
0 answers
35 views

Allow Pan but Restrict Zoom to Ctrl/CMd + Scroll in D3

D3's zoom() functionality handles both zooming and panning. I'm looking to differentiate between the two: While restricting the user to only allow zooming when coupled with pressing the ctrl/command ...
PatrickHutchinson's user avatar
0 votes
0 answers
38 views

Image crop or cannot access the horizontal parts of a full screen landscape image

I am trying to open an image in full screen, so the landscape image would be full screen like portrait. Then I can manipulate an image - zoom it, drag it, and save the desired scale and offset. The ...
Sultan Doolotov's user avatar
0 votes
1 answer
50 views

How to get the position of the image in a imageview after the scaleX and scaleY are changed in Kotlin

I need to get the position, width and height of image inside ImageView after the scale has changed. I need the values to add code to control the scrolling limits. I has seen other threads that use a ...
jetberrocal's user avatar
0 votes
0 answers
48 views

linesvg data mapping issue in D3.js zoom and pan

I've implemented zoom and pan functionality on chart and I'm experiencing an issue. While Zooming and panning, the x and y scales adjust correctly, and the lines expand and shrink as expected. However,...
Lakshmi's user avatar
4 votes
1 answer
171 views

R Plotly Constrain Panning

When you have a plot, the pan feature is very nice. However, it's possible to pan very far away from what has actually been plotted. Is there a way to constrain plotting so that a user interacting ...
David Robie's user avatar
1 vote
0 answers
160 views

cypress e2e testing. Openlayers pan

I am trying, unsuccessfully, to pan the map triggering events like pointerdown, pointermove and pointerup using cypress. This is the code I am using: cy.get('.ol-viewport') .trigger('pointerdown', { ...
Antuanjoseff's user avatar
1 vote
1 answer
569 views

Pan x axis only, zoom still allowed for y axis

After looking around I can't seem to find a way to disable dragging of y axis in pan mode, while also allowing to zoom both axes. Anyone figured this one out yet ? The data is positional positive ...
Roler's user avatar
  • 33
0 votes
1 answer
45 views

Reset scale to 1:1 after zoom

I wish to reset the image to its original zoom factor upon a button onclick() event. It is the code for the onclick() event that I need. I have the following div in my HTML: div id="zoom">...
jamie's user avatar
  • 39
1 vote
0 answers
239 views

Flutter Gestures: Conflict of panable view and dragable item

TDLR How can I setup a scrollable view (two-finger) with a draggable item (one-finger) in Flutter in way that the item doesn't eat up the two-finger gesture. Goal I am trying to setup an application ...
Fabian's user avatar
  • 1,844

15 30 50 per page
1
2 3 4 5
31