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
    
                            
                        
                    
            6,069
            questions
        
        
            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?
            
        
       
    
            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=...
            
        
       
    
            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 ...
            
        
       
    
            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 ...
            
        
       
    
            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.
            
        
       
    
            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 ...
            
        
       
    
            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 ...
            
        
       
    
            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: ...
            
        
       
    
            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/...
            
        
       
    
            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 ...
            
        
       
    
            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 ...
            
        
       
    
            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 ...
            
        
       
    
            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 ...
            
        
       
    
            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?
            
        
       
    
            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 ...
            
        
       
    
            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 ...
            
        
       
    
            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 ...
            
        
       
    
            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 ...
            
        
       
    
            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. ...
            
        
       
    
            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 ...
            
        
       
    
            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 ...
            
        
       
    
            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 ...
            
        
       
    
            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(...
            
        
       
    
            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 ...
            
        
       
    
            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 ...
            
        
       
    
            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%...
            
        
       
    
            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 ...
            
        
       
    
            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 ...
            
        
       
    
            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 ...
            
        
       
    
            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 ...
            
        
       
    
            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 ...
            
        
       
    
            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?
            
        
       
    
            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 ...
            
        
       
    
            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), ...
            
        
       
    
            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 ...
            
        
       
    
            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);...
            
        
       
    
            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 ...
            
        
       
    
            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?
            
        
       
    
            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, ...
            
        
       
    
            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 ...
            
        
       
    
            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 ...
            
        
       
    
            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:
...
            
        
       
    
            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 ...
            
        
       
    
            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?
            
        
       
    
            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 ...
            
        
       
    
            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?
            
        
       
    
            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 ...
            
        
       
    
            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 ...
            
        
       
    
            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 ...
            
        
       
    
            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 ...