Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [zoom]

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

3
votes
2answers
29 views

Label font size and scale QGIS 3.0

How can I make it that the font size of the label changes when I zoom in and out? I have a polygon and I want the label get bigger when I zoom in and smaller when I zoom out (just like the polygon ...
0
votes
2answers
31 views

Zooming in on raster file in R

I used the nsidcICE function located here: https://github.com/cran/raster/blob/master/R/nsidcICE.R and the following code to open a sea ice raster file. However, I would like to overlap vector points ...
1
vote
0answers
13 views

Openlayers 2: [In Touch] Pinch zoom action triggers click event at the end. How to prevent click on pinch zoom

Openlayers 2: [In Touch] Pinch zoom action triggers click event at the end. How to prevent click event registered on map getting triggered when pinch is done
2
votes
0answers
38 views

Python script to zoom to a city and export as PDF won't zoom to city [closed]

The script completes successfully but doesn't zoom to the given city. It does export to PDF with the correct name though. The map is the county wide extent and not zoomed to the given city. The print ...
1
vote
1answer
16 views

pygis zoom to selected layer

I selected the layer I want to zoom in and I can actually zoom in using the python console that Qgis provides using iface.zoomToActiveLayer() but if I do the same in my code, is like that line is ...
0
votes
0answers
22 views

Layout view not responding

I'm encountering strange behaviour using ArcMap 10.5.1 on Windows 10. When entering the layour view, the "map part" of the screen basically freezes. Neither panning with the 'data view' pan tool, nor ...
2
votes
1answer
81 views

Can I use a browser's developer tools to see the zoom level of current map in browser?

What I'm looking for Where a map is being served by Mapbox in my browser is there anywhere within the Chrome/Firefox Developer Tools where it shows the current zoom level as displayed on screen? ...
0
votes
1answer
38 views

Leaflet - Hide marker before zoom shows marker?

I have a few thousand markers which are grouped in feature groups which i show depending on the zoom level. At the moment i run the the show/hide function for each feature group after the event zoom ...
0
votes
1answer
59 views

Leaflet on mouse wheel event change zoom by delta

I am trying to find a way to change zoom by delta when using mouse wheel event (scroll) in Leaflet. E.g. current map zoom is on 0 and if "scrolled" into map, zoom should be 5. Also, zoom change ...
0
votes
0answers
5 views

“Found Partial Label” error recurs when zooming/panning

In a custom application using dotSpatial, I have a problem that occurs occasionally that I can't figure out how to debug. When panning or zooming, I'll get the following error: DotSpatial.Topology....
1
vote
1answer
42 views

QGIS Expand layer rather than zoom when reaching max zoom extent

When I zoom in to a layer in QGIS (specficially http://server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer ) I reach a point where going further beyond I get tiles that say "Map data ...
0
votes
1answer
45 views

“Zoom to search result” function in qgis2web?

I'm a beginner in GIS and have almost no experience in coding but I'm slowly working my way through everything. Right now I'm trying to make an exported qgis2web map a bit more interesting by setting ...
0
votes
1answer
25 views

OpenLayers 3, PostgreSQL, WFS: Extent jumps back to initial extent if zoom out too far

I'm working on an app using OpenLayers 3 with PostgreSQL/PostGIS tables and views, and an Esri basemap. The web app loads a set of features using an array of attributes from PostGres table (a view) ...
-1
votes
2answers
36 views

How to maintain current zoom level when panning to a new feature? [duplicate]

I want to speed up my work. How could I get ArcMap to stay at my current zoom level when panning to a new feature? What I am currently doing is using Ctrl+Enter to move through my attribute table and ...
0
votes
1answer
119 views

Are there high resolution images available for download on earthexplorer?

The problem with earth explorer GeoTiff files is, if you zoom in enough, the resolution is very fuzzy. If you want to look at your backyard, for example, that is impossible. If you use the earth ...
1
vote
1answer
70 views

Displaying labels from a lower zoom level?

In QGIS, is there a way to "pin" labels and features from a lower zoom level so that they appear higher up? For instance, considering a map of the US, it would be impossibly cluttered to show every ...
0
votes
0answers
40 views

Openlayers v5.1.3. zoom extent [duplicate]

I have searched the forum looking for a recent example where I can zoom to the feature extent of a Geojson layer using OpenLayers v5.1.3. I have already created an example below of a Geojson layer, ...
1
vote
1answer
91 views

Set zoom level to display full extent of specific layer when starting a project in QGIS

I have project in QGIS 3.2 with different shapefiles and WMS layer. When I start the projectfile (.qgs) I want the extent of the map to be the same as one specific WMS layer (same as the option "zoom ...
0
votes
0answers
27 views

OpenLayers 2: zoomToExtent with scale

I need to zoom map to show some selected features from layer. So I am creating a temporary layer with features and zoom to this temporary layer. The problem - usually the scale is too small, so I ...
0
votes
1answer
75 views

Higher than maxNativeZoom requests tiles

Leafet is requesting tiles while at a higher zoom level than maxNativeZoom from defined mapserver instead of just stretching the maxzoom sized tiles. It is creating a lot of 404s since my maxzoom is ...
0
votes
0answers
59 views

QGIS - changing WMS / ArcGISMapServer Zoom level

I've looked around for an answer to this but nothing seems to work. Basically, I'm printing maps with a WMS or ArcGISMapServer background (like World Topo). In print composer I can change the dpi of ...
1
vote
0answers
52 views

ol3 zoom with defined scale

I am trying to show map based on the gridset defined in geoserver, in such a manner that map zooms to that Scale only. Scale is as follow : 1:1000, 1:500, 1:400, 1:300 view = new ol.View({ ...
0
votes
1answer
360 views

How to Zoom Google Maps Javascript API to level 25

Cannot Zoom Google Maps Javascript API after 1:564 (zoomlevel: 20) in Mapstore. Can anyone help me to solve this cause my layer keeps on zooming but the map is stuck at zoom 20, I want to zoom it to ...
1
vote
1answer
144 views

Get extent on every zoom or pan of map

map.getView().calculateExtent(map.getSize()) I am able to get extent using the above but I want the extent on every zoom/pan of map.. do we have any functions that can do it? i looked at zoom ...
1
vote
0answers
42 views

Hidden layer with zoom level

I would like to display some layer according to max and min zoom levels. I tried with the method min / max zoom and resolution but without success. I specify that I use vector tiles. Here is my code:...
2
votes
2answers
151 views

Setting Min Zoom without base map using ArcGIS API for JavaScript?

How do I set min zoom for map without defining base map(User can't zoom out beyond that label)? Set min zoom with base map is working fine. For example: map = new Map("map", { ...
0
votes
1answer
149 views

Leaflet.TextPath: how to set zoom level from which text would be displayed

I am using the Leaflet.TextPath plugin for labeling polylines. It works fine into my Leaflet map, but I want to set the zoom level (scale-based visibility) from which labels would be displayed on the ...
1
vote
0answers
164 views

problem with zoom feature in QGIS 3.0

I am having a strange problem--currently using QGIS 3.03. I cannot zoom to any of my point layers (can't use zoom to selected, zoom to layer, etc.) But I CAN zoom to my polygon layers. Both are ...
0
votes
1answer
36 views

Geoserver WMS limiting map visibility by scale

In ArcGIS I can manually limit visibility of a map layer by specifying a min and max scale (see below). Is it possible to instead set this server-side on Geoserver? I've seen something similar in ...
1
vote
1answer
39 views

Editing OpenLayers viewer in GeoServer?

I would like to custumize the openlayer3 viewer integrated in the Geoserver (2.13) to have more zoom levels (by default there are 28 zoom levels with a zoom factor of 2). In other words, I would like ...
0
votes
0answers
80 views

Filtering field based on previous selection in ModelBuilder?

I would like some help regarding ModelBuilder (ArcGIS). I don't have much experience with Python so ModelBuilder is my only choice. I have a model in which i incorporated a tool that i found in ESRI'...
0
votes
0answers
30 views

Google Map cannot zoom less than 3 with custom tiles created with gdal

I have tiled a 2880 x 2880 image with gdal2tiles like this gdal2tiles.py -p raster -z 0-6 MyMap.png result It correctly create 6 folder with the tiles in them. My issue that I'm now trying to load ...
0
votes
1answer
450 views

Mapbox GL JS set Max Zoom level not working?

I cant seem to get my map to set a max zoom level. Here is a snippit of my code - var map = new mapboxgl.Map({ container: 'map', style: 'mapbox://styles/cdickinson11/cjg49l1f305ou2rls3hd65a6s', ...
0
votes
0answers
33 views

reprojected shapefile cannot be displayed in target CRS

I have digitized two polygons in WGS84 from an orthophoto image using QGIS. I reprojected the layer which contains these polygons to EPSG: 2100 (GGRS87 / Greek Grid) either using processing toolbox or ...
3
votes
0answers
101 views

Zoom in, zoom out, and pan tools cannot be toggled off in QGIS?

When I select the Pan Map, zoom in, and zoom out tools in the QGIS toolbar (version 2.18.16), I cannot toggle it off after using it. In efforts to toggle a tool from the toolbar off after using it, I ...
3
votes
2answers
89 views

Making raster dots appear bigger when zoomed out on the map, QGIS

I would like to create a visualisation in QGIS that lights up raster points in a different colour. I have the rather points lit up but when I zoom out on the map, they look very small (they are 1km^2 ...
0
votes
2answers
793 views

Disable pan and zoom in OpenLayers

I'm using the latest version of OpenLayers in my map application, and I need disable all zoom functions and panning for users. Zoom, mouse zoom, double click zoom, and control buttons zoom need to be ...
5
votes
1answer
541 views

How to make OpenLayers 3 behave like Google Maps when using mouse scroll

Google Maps API shows a message over the map when a user scrolls with mouse over the map. The message advises the user to press the Control key while scrolling with the mouse over map. This is a very ...
0
votes
2answers
144 views

Completely removing no data values from raster using ArcPy?

I have a layer called addLayer0 which is largely filled with nodata values. for l in list_dfs: l.panToExtent(addLayer0.getExtent()) where list_dfs is a list of all dataframes in the ...
1
vote
1answer
262 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 ...
1
vote
0answers
1k views

Dynamic leaflet scale / zoom / bounds in R Shiny Applications

I've dug into a few older stack exchanges on this topic, but am at a standstill. I am attempting to let leaflet dynamically resize in a large shiny app when the application is resized. I'm doing that ...
0
votes
0answers
92 views

Zooming to particular feature among selected features by feature id in PyQGIS?

Using QGIS 2.6 and PyQGIS, I want to zoom to features one by one on click among selected features list and change the colour on zoom without unselecting the other features. canvas=iface.mapCanvas() ...
2
votes
1answer
883 views

How to decide geohash length based on zoom level?

I want to decide geohash length based on zoom level, how can I do that because so far I am unable to find any standard way to do so? For example, current zoom level is 10 and geohash is "...
2
votes
1answer
404 views

Leaflet Basemap zoom to maximum

When I zoom to maximum; more than 18 the basemap is gone. How can we keep the basemap even when we zoom to maximum? This is my plunker example
0
votes
1answer
122 views

Adjusting Polygon Visibility with CartoCSS

I am attempting to adjust the visibility of a polygon layer in Carto by zoom level. To keep it simple for now I am looking to have the opacity of 1 from zoom 0-7 and opacity 0 from zoom 8+. I am ...
4
votes
2answers
637 views

Hide old tiles while loading new ones when zooming in Openlayers

Standard behavior, while zooming in and out in Openlayers, is that the current tile gets resampled and displayed stretched or compressed until the new tile is available. That's how it looks like while ...
1
vote
0answers
72 views

Is there any labeling (by scale) rule of thumb in Cartography?

I did some research about Map labeling and most of them are about font, spacing, etc. I am just wondering is there any rule of thumb of labeling in terms of map scale. For instance, in Google Maps ...
1
vote
1answer
200 views

Add points on zoom and remove points when zooming out

Problem I would like to add points/shelterIcons when zooming to level 12 or more and remove them again when zooming out. If all the points were defined as a layer I could add/remove them with the ...
1
vote
0answers
152 views

How to export zoomable PDF from ArcGIS?

I have a basemap layer of a country and I want to create a PDF where I can zoom in and see the basemap in more detail. The same way as when I zoom in ArcGIS. Is it possible to export such PDF from ...
0
votes
1answer
78 views

Scaling map for certain layers using CARTO?

I would like layer setup in CARTO - scaling map for certain layers. How do I change the zoom, for example, on map markers, so that they are not displayed at all scales?