Questions tagged [zooming]

Zooming is the act of enlarging something (a document, an image, a map) to view it in greater detail. (DO NOT USE for questions about the Zoom communications platform; instead, use [zoom-sdk].)

Zooming in graphical user interfaces is a facility that allows users to change the scale of the viewed area in order to see more detail or less. Often, there is a facility that allows the user to move the zoomed area with respect to the overall item being viewed.

6043 questions
35
votes
12 answers

Is there way to limit MKMapView maximum zoom level?

the question is - is there a way to limit maximum zoom level for MKMapView? Or is there a way to track when user zooms to the level where there's no map image available?
Vladimir
  • 170,431
  • 36
  • 387
  • 313
35
votes
2 answers

How to zoom whole activity on multi touch?

Problem: It's easy to zoom images and web views. But I want to zoom a whole activity. How can I do this? Here, I provide wire-frame: From this you can understand, what I want to do. Request If you have any solution of this, then please share.Thank…
Darshak
  • 2,298
  • 4
  • 23
  • 45
33
votes
5 answers

markerClusterer on click zoom

I just added a MarkerClusterer to my google map. It works perfectly fine. I am just wondering if there is any way of adjusting the zoom-in behaviour when the cluster is clicked. I would like to change the zoom level if possible. Is there any way of…
AlexBrand
  • 11,971
  • 20
  • 87
  • 132
32
votes
10 answers

Turn off Zooming in UIScrollView

Does anyone know a way to temporarily turn off zooming when using a UIScrollView? I see that you can disable scrolling using the following: self.scrollView.scrollEnabled = false; but I'm not seeing a similar command for zooming. Any thoughts?
CodingWithoutComments
  • 35,598
  • 21
  • 73
  • 86
32
votes
3 answers

UIScrollView zooming with Auto Layout

I'm trying to implement a UIScrollView the New Way, using Auto Layout. I've set up constraints from the inner view to the scroll view so that it can compute its own contentSize automatically, and that works like a charm— except that all hell breaks…
phu
  • 1,199
  • 2
  • 10
  • 20
31
votes
7 answers

Move camera to fit 3D scene

I'm looking for an algorithm to fit a bounding box inside a viewport (in my case a DirectX scene). I know about algorithms for centering a bounding sphere in a orthographic camera but would need the same for a bounding box and a perspective camera.…
Burre
  • 1,144
  • 2
  • 10
  • 14
31
votes
7 answers

Zoomable, Google-Finance-style time series graph in D3 or Rickshaw?

I want to create a time series line graph in D3, with a smaller version of the graph below that allows the user to zoom in on certain sections of the chart, like a Google Finance graph. The closest example I've found is this swimlane…
Richard
  • 62,943
  • 126
  • 334
  • 542
30
votes
7 answers

android imageView: setting drag and pinch zoom parameters

I am currently developing for Android (my first app) an application which lets users see the subway map and be able to pinch zoom and drag around. I am currently modifying the code found in Hello Android, 3rd Edition and got the pinch zooming and…
w1ck3d64
  • 402
  • 2
  • 8
  • 15
30
votes
5 answers

emacs zoom in/out globally

I know that I can zoom in/out using C-x C-+, but this applies only to the current file. Once I open another one, the text goes back to the default value and it's really tiresome to do it over and over. How can I keep the zoom level global for the…
metakermit
  • 21,267
  • 15
  • 86
  • 95
30
votes
2 answers

Zoom specific element on webcontent (HTML,CSS,JavaScript)

I want to zoom only a specific element of my website (a certain div), if a user zooms the website on a mobile device. The following picture shows my idea: As you can see, the test is zoomed but the top div stays the same size; only the div that…
Bram
  • 4,533
  • 6
  • 29
  • 41
30
votes
17 answers

Selenium WebDriver zoom in/out page content

How to change page zoom level in Selenium WebDriver? I tried: driver.Keyboard().pressKey(Keys.Control); driver.Keyboard().pressKey(Keys.Add); But it doesn't work.
user2099471
  • 303
  • 1
  • 3
  • 5
29
votes
6 answers

imitate browser zoom with JavaScript

How is it possible to zoom out an entire document with JavaScript ? My goal is to imitate the built-in browser zoom and zoom the entire document to 90%. I have tried using document.body.zoom This works only with explorer and the page gets messy (a…
lior r
  • 2,220
  • 7
  • 43
  • 80
28
votes
2 answers

How to set zoom to fit circle in Google Maps

We have distance search filter. It has a map viewport that allow to set base marker and a input text box that allows enter distance in kilometers. We then add a circle to show this distance on the map. How can I zoom the map so it fits the circle?
28
votes
2 answers

Can I disable the Ctrl+scroll zoom function in NetBeans?

Is there a way to disable the Ctrl+scroll text zoom feature in NetBeans? (7.1 on Mac OS X 10.7) There was a plugin to kill the analogue "feature" in PHPStorm but I haven't found anything for NetBeans.
Kris
  • 40,604
  • 9
  • 72
  • 101
28
votes
3 answers

How to find absolute position of click while zoomed in

Please see each section below for a description of my problem described in three separate ways. Hopefully should help people to answer. Problem: How do you find a pair of coordinate expressed in canvas/userspace when you only have the coordinate…
Graeme
  • 25,714
  • 24
  • 124
  • 186