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
Filter by
Sorted by
Tagged with
883 votes
41 answers
776k views

Disable Auto Zoom in Input "Text" tag - Safari on iPhone

I made an HTML page that has an <input> tag with type="text". When I click on it using Safari on iPhone, the page becomes larger (auto zoom). Does anybody know how to disable this?
Eduardo Montenegro's user avatar
480 votes
20 answers
645k views

How do you disable viewport zooming on Mobile Safari?

I've tried all three of these to no avail: <meta name=”viewport” content=”width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;” /> <meta name=”viewport” content=”width=...
MetaGuru's user avatar
  • 43.3k
372 votes
30 answers
400k views

How to detect page zoom level in all modern browsers?

How can I detect the page zoom level in all modern browsers? While this thread tells how to do it in IE7 and IE8, I can't find a good cross-browser solution. Firefox stores the page zoom level for ...
understack's user avatar
  • 11.4k
209 votes
13 answers
182k views

How can I get zoom functionality for images?

Is there a common way to show a big image and enable the user to zoom in and out and pan the image? Until now I found two ways: overwriting ImageView, that seems a little bit too much for such a ...
Janusz's user avatar
  • 188k
201 votes
16 answers
223k views

Catch browser's "zoom" event in JavaScript

Is it possible to detect, using JavaScript, when the user changes the zoom in a page? I simply want to catch a "zoom" event and respond to it (similar to window.onresize event). Thanks.
user123093's user avatar
  • 2,457
185 votes
18 answers
209k views

Disable double-tap "zoom" option in browser on touch devices

I want to disable the double-tap zoom functionality on specified elements in the browser (on touch devices), without disabling all the zoom functionality. For example: One element can be tapped ...
Wouter Konecny's user avatar
169 votes
5 answers
41k views

How to disable zoom on Ctrl+scroll in Visual Studio 2010?

Visual Studio 2010 adds a zoom setting on the bottom left of the text editor (to the left of the horizontal scroll bar) and also adopts the Ctrl+mouse scroll idiom for zooming in and out. The former ...
Redwood's user avatar
  • 67.9k
158 votes
12 answers
233k views

IntelliJ how to zoom in / out

The IntelliJ keymap says: Zoom in: Keypad + = Zoom out Keypad - - But they have no effect. Anyone have this working? New info: Now I have added more key-bindings: Zoom in: Alt-Shift-= Zoom out: ...
WestCoastProjects's user avatar
155 votes
2 answers
97k views

Limit ggplot2 axes without removing data (outside limits): zoom

If you specify axis limits in ggplot the outlying points are removed. This is fine for points, but you might want to plot lines that intersect with the specified range, but ggplot's range or xlim/...
geotheory's user avatar
  • 23k
155 votes
11 answers
316k views

Changing the browser zoom level

I have need to create 2 buttons on my site that would change the browser zoom level (+) (-). I'm requesting browser zoom and not css zoom because of image size and layout issues. Well, is this even ...
Jourkey's user avatar
  • 34.4k
144 votes
12 answers
162k views

Pan & Zoom Image

I want to create a simple image viewer in WPF that will enable the user to: Pan (by mouse dragging the image). Zoom (with a slider). Show overlays (rectangle selection for example). Show original ...
Yuval Peled's user avatar
  • 5,008
139 votes
23 answers
337k views

Android ImageView Zoom-in and Zoom-Out

I want to Zoom-in and Zoom-out an Android ImageView. I tried most of the samples but in all of them the image in the ImageView itself is getting Zoomed-in and Zoomed-out, while I want to Zoom-in and ...
karthi's user avatar
  • 1,403
133 votes
4 answers
76k views

How can I enable zoom in on UIWebView which inside the UIScrollView?

I have a UIWebView which inside a UIScrollView (scrollview contain another component) I tried to enable multitouch both on Interface Builder or Programmatic on UIWebView but it still cannot zoom for ...
calendarw's user avatar
  • 1,511
99 votes
8 answers
47k views

Xcode 6 how to enable storyboard zoom?

I've updated to Xcode 6 beta 3 and see that the [+ = -] buttons in the storyboard corner are gone. Is there a way for me to zoom in and out on view controllers within a storyboard in Xcode 6?
Alex Stone's user avatar
99 votes
4 answers
72k views

Matplotlib/Pyplot: How to zoom subplots together?

I have plots of 3-axis accelerometer time-series data (t,x,y,z) in separate subplots I'd like to zoom together. That is, when I use the "Zoom to Rectangle" tool on one plot, when I release ...
BobC's user avatar
  • 3,380
91 votes
6 answers
95k views

Zoom Canvas to Mouse Cursor

I'm programming a HTML5 < canvas > project that involves zooming in and out of images using the scroll wheel. I want to zoom towards the cursor like google maps does but I'm completely lost on how ...
S2am's user avatar
  • 927
87 votes
5 answers
81k views

MKMapView Zoom and Region

I'm familiar with using Google Maps Javascript API. Recently I started using MapKit framework for an iphone project, but I'm having a hard time to figure out zooming and setting a region on map. In ...
cocoatoucher's user avatar
  • 1,493
85 votes
12 answers
152k views

How can I zoom an HTML element in Firefox and Opera?

How can I zoom an HTML element in Firefox and Opera? The zoom property is working in IE, Google Chrome and Safari, but it’s not working in Firefox and Opera. Is there any method for adding this ...
SABU's user avatar
  • 3,697
84 votes
6 answers
46k views

Is there a way to zoom into a D3 force layout graph?

D3 has a force directed layout here. Is there a way to add zooming to this graph? Currently, I was able to capture the mouse wheel event but am not really sure how to write the redraw function itself. ...
Legend's user avatar
  • 115k
75 votes
6 answers
130k views

Zoom Vs. Scale in CSS3

I was looking for some css properties that I never used and came to know about zoom property of css3 What is the similarities and difference between them? When to use Zoom and when scale? Both do ...
Suresh Karia's user avatar
  • 17.9k
66 votes
8 answers
137k views

enable/disable zoom in Android WebView

There are some methods in WebSettings related to zoom: WebSettings.setSupportZoom WebSettings.setBuiltInZoomControls I noticed they work differently on some devices. For example, on my Galaxy S ...
Eugene Nacu's user avatar
  • 1,633
65 votes
9 answers
154k views

How to implement zoom effect for image view in android?

I have to implement image zooming, I have tried with so many codes.But i didnt get full idea of gesture events. I want to implement when we apply double tap, image will be zooming according to the ...
Android Developer World's user avatar
64 votes
7 answers
21k views

Is better way to zoom windows in Vim than ZoomWin?

I used to use ZoomWin: https://github.com/vim-scripts/ZoomWin for toggle between one and multiple windows in Vim. But this plugin has one big issue. When I`m trying to restore multiple windows(...
tomekfranek's user avatar
  • 6,952
56 votes
14 answers
57k views

How to unzoom Chrome-* console

I've a little problem with chromium 19.0.1058.0 (124615). I've been in the console on the "new tab" tab. Then i wrote a function in the console, then i typed "}" (with alt-gr). It ...
Extaze's user avatar
  • 1,137
56 votes
8 answers
60k views

Android: How do I set the zoom level of map view to 1 km radius around my current location?

I want to set the map view zoomed to 1km radius but cant figure out how? The doc says that the zoom level 1 will map earths equator to 256 pixels. So how do I calculate which zoom level I need to set ...
binW's user avatar
  • 13.4k
56 votes
8 answers
135k views

Force page zoom at 100% with JS

I created a little game in Canvas, but I have a problem. Some users who have the default zoom set to something other than 100% can't see the entire game page. I have tried using this CSS: zoom: 100%...
Crocsx's user avatar
  • 6,988
53 votes
6 answers
93k views

Disable Chrome pinch zoom for use in kiosk

We are using Chrome in kiosk mode and accidentally users are causing the application to zoom with the recent addition of pinch zoom support. They then think they've broken it and simply walk away ...
Dennis Smolek's user avatar
52 votes
5 answers
38k views

Android - Google Maps api v2 - Disable Zoom control

How do I disable the Zoom In button on the Google Map? I tried looking for commands like: map.getUiSettings().setZoomControlsEnabled(true)...SOMETHING but nothing exists. I want to leave creating ...
KickAss's user avatar
  • 4,270
51 votes
4 answers
27k views

How to set permanent Zoom factor in Visual Studio Editor 2012 tabs

If I set the zoom of a tab to 120%, then when opening new tabs, Visual Studio 2012 should open them with a 120% zoom factor and not 100% (the default). But when reopening, Visual Studio the Zoom ...
Pankaj Agarwal's user avatar
51 votes
3 answers
54k views

MATLAB - How to zoom subplots together?

I have multiple subplots in one figure. The X axis of each plot is the same variable (time). The Y axis on each plot is different (both in what it represents and the magnitude of the data). I would ...
Miebster's user avatar
  • 2,405
49 votes
9 answers
39k views

Borders disappear in Chrome when I zoom in

I have this really simple form: http://jsfiddle.net/TKb6M/91/. Sometimes, when I zoom in or out using Chrome, the input borders disappear. For example, when I zoom to 90% I get: Naturally, your ...
Luís Pureza's user avatar
49 votes
7 answers
117k views

android pinch zoom

My layout contains buttons, textviews, etc. Is it possible to implement pinch zoom in my layout?
Bytecode's user avatar
  • 6,581
48 votes
5 answers
66k views

Disable zoom on a div, but allow zoom on the page (an alternate div)

Is there a way to disable zoom on a div, or any particular elements on a website? For example, if I wanted the page to be zoomable, but not the #Header div, is there a way to make one zoomable, and ...
GJDesigns's user avatar
  • 485
47 votes
4 answers
47k views

How can I accomplish `set_xlim` or `set_ylim` in Bokeh?

I create a figure in a function, e.g. import numpy from bokeh.plotting import figure, show, output_notebook output_notebook() def make_fig(): rows = cols = 16 img = numpy.ones((rows, cols), ...
Brian's user avatar
  • 3,502
43 votes
5 answers
36k views

Stop Firefox DPI Scaling (when Windows setting is at 125%)

I'm currently making a webpage and testing it in chrome works fine, but in Firefox - it is zoomed in. This is because my DPI in Windows is set to 125%, and Firefox detects this, and adjusts every ...
Brugsen's user avatar
  • 613
42 votes
10 answers
38k views

On zoom event for google maps on android

We're building an application which is using the google maps api for android. I have my MapController and MapView, and I enable the built-in zoom controls using: mapView.setBuiltInZoomControls(true);...
Bjarke Freund-Hansen's user avatar
41 votes
17 answers
51k views

Setting max zoom level in google maps android api v2

I'm currently working on developing apps by using Google maps android API v2. My code is as follows. Suppose map has several markers and zoom up to show all markers in display. LatLngBuilder.Builder ...
user2223820's user avatar
41 votes
9 answers
48k views

Matplotlib plot zooming with scroll wheel

Is it possible to bind the scroll wheel to zoom in/out when the cursor is hovering over a matplotlib plot?
dimka's user avatar
  • 4,379
41 votes
2 answers
10k views

What exactly changes in the css rendering, when desktop browsers zoom in or out on a website?

In what way is the design scaled up or down? I'm trying to figure out what exactly happens at the CSS level, and what the consequences are for different sizing methods (px, em, rem, etc). By the way, ...
vkjb38sjhbv98h4jgvx98hah3fef's user avatar
39 votes
7 answers
37k views

D3.js Set initial zoom level

I have several graphs set up to zoom on the container and it works great. However, on the initial load, the zoom level is way too close. Is there a method of setting the initial zoom level to avoid ...
Jakub Svec's user avatar
38 votes
6 answers
14k views

UIScrollView Zoom Does Not Work With Autolayout

Zooming with UIScrollView using a strictly autolayout environment does not seem to work. This is especially frustrating because the iOS 6 release notes certainly lead me to believe it should when the ...
Corey's user avatar
  • 590
37 votes
2 answers
159k views

pyplot zooming in

I am trying to plot some data from Flexible Image Transport System (FITS) files, and I wanted to know if anyone knows how to focus on certain regions of a plot's axis. Here is some example code: ...
Dax Feliz's user avatar
  • 12.5k
36 votes
7 answers
72k views

Can I navigate, zoom in and zoom out R plots?

I would like to know if R allows to pan and zoom images produced with the "plot" function. I would like to obtain the plot transformation using the mouse and not through the command line, is it ...
rlar's user avatar
  • 896
35 votes
12 answers
37k views

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's user avatar
  • 171k
35 votes
6 answers
69k views

Disable auto zoom/field zoom on input tags on my Mobile Site - WITHOUT disabling all zoom capabilities

I have spent all day looking for a solution, and this site keeps coming up, SO why not ask you guys. I an building our companies mobile website and we want to disable the auto zoom mobile devices use ...
John Rakowski's user avatar
35 votes
7 answers
17k views

Cannot zoom in and out of nib in the new Interface Builder

Have I missed something obvious or is it not possible to zoom freely in and out of an open nib file, within the integrated Interface Builder of Xcode 4?
Luke's user avatar
  • 11.5k
35 votes
2 answers
11k views

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 ...
Darshak's user avatar
  • 2,308
33 votes
5 answers
48k views

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 ...
AlexBrand's user avatar
  • 12.2k
32 votes
10 answers
27k views

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 ...
CodingWithoutComments's user avatar
32 votes
7 answers
28k views

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 ...
Burre's user avatar
  • 1,154

1
2 3 4 5
122