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
91
votes
6 answers

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 to calculate the movements. What I have: image x and…
S2am
  • 927
  • 1
  • 7
  • 5
86
votes
5 answers

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 Google Maps API I used to use integer zoom levels…
cocoatoucher
  • 1,483
  • 3
  • 17
  • 22
85
votes
12 answers

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 property to Firefox and Opera?
SABU
  • 3,697
  • 4
  • 18
  • 11
83
votes
6 answers

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. Any suggestions? var vis = d3.select("#graph") …
Legend
  • 113,822
  • 119
  • 272
  • 400
72
votes
6 answers

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 pretty much the same job. Which is more efficient to…
Suresh Karia
  • 17,550
  • 18
  • 67
  • 85
66
votes
8 answers

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 pinch to zoom is enabled by default, but on LG P500…
Eugene Nacu
  • 1,613
  • 2
  • 14
  • 22
65
votes
9 answers

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 touch place(event x and y).I have to implement only…
Android Developer World
  • 1,051
  • 1
  • 12
  • 15
63
votes
7 answers

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(vertical split) there is about 2-4 sec delay. Do you…
tomekfranek
  • 6,852
  • 8
  • 45
  • 80
56
votes
8 answers

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 so that the map view shows area in 1KM…
binW
  • 13,220
  • 11
  • 56
  • 69
56
votes
8 answers

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%; This HTML
Crocsx
  • 2,534
  • 1
  • 28
  • 50
54
votes
13 answers

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 zoomed my console. What can i do to reset the zoom in DevTools?
Extaze
  • 1,117
  • 2
  • 10
  • 18
51
votes
3 answers

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 like a way to zoom in on the time scale on all…
Miebster
  • 2,365
  • 4
  • 21
  • 27
51
votes
6 answers

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 leaving the application (and subsequently a 55"…
Dennis Smolek
  • 8,480
  • 7
  • 30
  • 39
51
votes
5 answers

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 my own buttons for zooming as a last resort. UPDATE:…
KickAss
  • 4,210
  • 8
  • 33
  • 41
50
votes
4 answers

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 Percentage should be preserved (120%). Is there is any…
Pankaj Agarwal
  • 11,191
  • 12
  • 43
  • 59