Questions tagged [zoom]

Use this for questions about changing the zoom when display a map

Filter by
Sorted by
Tagged with
90
votes
12answers
224k views

What ratio scales do Google Maps zoom levels correspond to?

Can anyone provide me with a link (or some details) on the actual ratio to "zoom level" figures for Google Maps? e.g. Google Maps Level 13 = 1:20000
19
votes
4answers
17k views

Using ArcPy to zoom to selected feature?

Is there a way to zoom to the extent of a selected feature using the ArcPy module in ArcGIS Desktop 10.
1
vote
2answers
8k views

ArcGIS Label zoom visibility

ArcGIS 10.2.2 on Windows 7 32 bit (new Win 7 computer arriving tomorrow). I'm a complete novice to ArcGIS starting now (June 2014), so speak loud and slow... I have 10 years of experience with GIS ...
9
votes
5answers
3k views

Unable to zoom beyond scale of 1:2,256 in QGIS?

In QGIS, whatever might be the source, I couldn't zoom beyond the scale of 1:2256. Whether it's a raster or vector, result is the same. Does anyone know how to fix this ? On @Chris' advice I've ...
2
votes
2answers
3k views

Points disappear when zooming past certain scale in ArcMap?

My points are disappearing when I zoom in past 300,000 in ArcMap. I tried to repair geometry, but it doesn't fix anything? I also checked the scale extents and those are turned off. I can export ...
1
vote
1answer
442 views

Small features don't draw when zoomed out using Geoserver WMS

I am using Leaflet to access polygon layers through Geoserver WMS. When I zoom out the smallest polygons will disappear and not draw. They would essentially be a dot if they did draw. Is there a way ...
1
vote
1answer
2k views

Zooming to selection in arcpy.mapping and only seeing selected features?

I selected data by using select layer by attribute, then I need to only select these selection and zoom in to the selection. my code is this, it can zoom in base on the scale I set, but I see other ...
12
votes
3answers
6k views

Changing mouse wheel zoom settings in QGIS?

I'm having a problem with the mouse wheel zoom setting on my macbook trackpad. The zoom occurs far too quickly for any level of precision. I noted this comment in the dev log: 2004-08-14 [gsherman] ...
4
votes
2answers
12k views

Leaflet layers on different zoom levels. How?

I've added a polygon layer and a point layer to my leaflet map. I would like the points to appear after a certain zoom level or when a "click" event occurs e.g. (polygons.on("click", function....) ...
4
votes
2answers
11k views

OpenLayers2 - zoom to selected feature

If I have this vector layer: var vectors = new OpenLayers.Layer.Vector("vector", {isBaseLayer: false}); var feature = new OpenLayers.Feature.Vector( OpenLayers.Geometry.fromWKT( ...
0
votes
1answer
2k views

resize divIcons (svgs) at zoom levels - Leaflet

I am adding a geoJSON to a map using a custom divIcon (from svg) for point markers with Leaflet. The divIcon needs to resize on different zoom levels. Currently I can see the icons and the popup ...
6
votes
1answer
2k views

Is it possible to set different scale dependent visibility for one layer classifications?

I'm working on a sewer and water network, so I need to set different scale visibility for primary, secondary and tertiary network.
5
votes
2answers
3k views

Zooming to WMS layer after CQL filter in OpenLayers?

I created a layer that contains points and I added it to a map as WMS layer in OpenLayers. I did a CQL filter and it works but I'd like to zoom to the selected point when I worked with getextent or ...
1
vote
1answer
4k views

How to get layer extent in OpenLayers or zoom to WMS layer extent?

I have added WMS layers using follow: basemap = new OpenLayers.Layer.WMS( "Layer Name1", "http://localhost:8080/geoserver/wms/workspacename", {layers: 'workspacename:layername'} ); utility = new ...
19
votes
4answers
27k views

Leaflet mouse wheel zoom only after click on map

I'm working with the Leaflet JavaScript Library and attached a (working) map to my HTML Document. It is in the middle of the page, and when I'm scrolling down with my mouse wheel and arrive at the map,...
6
votes
2answers
6k views

change width of outline for leaflet map depending on zoomlevel

I want to change the outline of a polygon depending on the zoomlevel. I thought it's easy to implement but there must be something wrong. My polygons dissapear when I try it with this code: to get ...
4
votes
1answer
13k views

Zoom to polygon bounds on click. Leaflet ´, GeoJSON

I have a leaflet map with a lot of polygons (borders). I would like to zoom to the bounds on the polygon, when the user click. Until now its only possible for me to zoom to the the bounds of all the ...
4
votes
1answer
90 views

Zoom to feature by clicking cell in the Attribute Table

I have a layer which has FID field representing the unique ID of features. In QGIS, there is a Zoom to selected rows button on top of the Attribute Table. It has a shortcut (Ctrl + J) and it doesn't ...
7
votes
2answers
3k views

OpenLayers plugin in QGIS 2.6.1 crashes and errors with zoom

I have a major problem with the OpenLayers plugin. The maps of the plugin won't zoom to the right scale, or they just simply crash. I never had these problems in the old QGIS versions. This way, I can'...
6
votes
4answers
5k views

How to limit zoom level in OpenLayers 2.x

I would like to have only 3 levels of zoom available (from level 6 to level 8). demolayer2 = new OpenLayers.Layer.WMS( "abc...","http://localhost:8080/geoserver/gwc/service/wms", {layers: 'def...', ...
4
votes
1answer
415 views

Zoom hangs ArcGIS API for JavaScript application?

I'm using ESRI arcgis 3.13 I have map with minZoom set to 3. When user tries to zoom in to level 19, the program just hangs and after a while, comes back with a generic browser error not from the ...
4
votes
2answers
8k views

Arcpy zoom to selected features not working

I'm writing a python script to automatically take some snapshots of my ArcMap in 10.2, but I can't get the zoom to selected features tool to work properly. I have a layer called carereport, which I ...
4
votes
1answer
1k views

Leflet js style geojson layer according to zoom level

Leaflet js beginner following/adapting the choropleth example. I need to get something like this mapbox map where the feature styles change according to zoom level. I am loading a line geojson that ...
3
votes
1answer
2k views

Applying Zoom Extent from several QgsVector layers with Labels in PyQGIS?

I have the following case: Project consists of three layers: OpenLayers plugin with Google streets QGSVector layer with Point features and Label enabled QGSVector layer with Polyline features and ...
2
votes
1answer
821 views

Zooming In and Out using ArcPy with ArcGIS Pro?

I have code that zooms a layout to a bookmark and then exports that layout to PDF. This step helps me produce maps on a large scale because I have about 40 bookmarks. However, if someone asks me to ...
2
votes
0answers
154 views

QGIS Atlas zoom to intersection between two different layers

I have two polygon layers, one is about different land owners boundaries and is used for atlas generation, and the other is about forests inside each property. In atlas generation sometimes i want to ...
1
vote
2answers
439 views

Problem with contour lines thickness in bigger zoom levels

I'm a beginner user of GDAL tools. I'd like to rasterize contour lines into Tiff file (for example such region: N47E006), everything works for quite small zoom levels e.g. 10... but the problem is ...
0
votes
1answer
2k views

How to set the visibility range of layers on CartoDB using CartoCSS?

I would like to customise the visibility of different layers on a CartoDB webmap so that they appear and disappear at distinct zoom levels. How is this achieved?
5
votes
3answers
2k views

QGIS - Disable Mouse Wheel Zoom

I'm using QGIS 2.16.x and the mouse wheel preference to disable zooming does not seem to be available. I've tried locking the scale but when the magnifier function is enabled, the zoom function still ...
3
votes
2answers
329 views

Aerial imagery showing in different colour while pan/zoom GeoServer

I have image/tiff files of a small aerial imagery. I published it under ImageMosaic plugin (GDAL plugin installed), but when I pan or zoom the map in OpenLayers preview I am getting different colour ...
3
votes
0answers
2k views

Zoom to Selected Feature Keyboard Shortcut [duplicate]

When working with quality assessment fishnet tiles in ArcMap most of the time couple of thousands i have to double click each record to move from one fishnet to the other. Instead of that i am looking ...
2
votes
2answers
556 views

Choosing and zooming to features using SQL query in ArcPy with ArcGIS Pro?

When using ArcPy with the ArcGIS 10.x architecture there is a simple coding pattern that I find I use frequently: import arcpy mxd = arcpy.mapping.MapDocument("CURRENT") df = arcpy.mapping....
2
votes
2answers
3k views

Disable double click zoom event in Leaflet for R

Is there a way to disable the double click zoom in Leaflet for R? I've created a Shiny app that changes polygon styles when a country's region is clicked on/off. If you select and immediately ...
2
votes
1answer
255 views

Getting more details by zooming in web-client?

today I've setup a qgis server and web client on my windows machine. Here is my WebClient. Now I'd like to test out everything. I tried to zoom in to the map, but it just stops by 1:2257 . I need ...
1
vote
1answer
1k views

Leaflet / JQuery -cannot add or remove class to divIcon marker

(this is related to a previous question of mine) I am adding a divIcon (an svg) as the icon for features in a geoJSON, using Leaflet. I can add a class to the html property of the icon, but I cannot ...
1
vote
1answer
219 views

Zoom out grayed out in ArcGIS API for JavaScript?

I'm using ArcGIS API for JavaScript 3.13 The zoom out slide button is grayed out, however it works when clicked. Does anybody know how to make it not grayed out? My map initialization code looks ...