Questions tagged [zoom]
Use this for questions about changing the zoom when display a map
386
questions
0
votes
0
answers
12
views
Extent and zoom level in MapLibre
The problem is reproduced in URL below:
https://jsfiddle.net/kochizufan/ucw948e6/
const libre = new maplibregl.Map({
container: 'libre',
style: {
version: 8,
sources: {
s_contour7: {
...
0
votes
0
answers
17
views
How to load the map faster when I am zooming into with OpenLayers and GeoServer [closed]
I load map in my code from the GeoServer with OpenLayers, and when I am zooming in, it becomes very slow.
I want to know how I can fix it and make the zoom load faster.
I have just 3 layer: 2 raster ...
0
votes
0
answers
35
views
GeoServer WMS mastermap zoom issue on Leaflet
I have a master map consuming it from the PostGIS database via GeoServer. As per understanding if we create a GeoServer layer from PostGIS db then that layer automatically is treated as WMS. But the ...
5
votes
1
answer
101
views
Automatically zoom to feature which is edited in attribute table in QGIS
I want to edit many features in the attribute table, for which I have to see imagery in the background of the features. To speed the process up, ideally I do not want to use the mouse to click ...
2
votes
0
answers
19
views
Overriding MaxZoom on Google Earth Engine (GEE)
I cannot zoom past maxZoom: 24 - and entering a number greater than 24 is not allowed.
Map.setLocked(0, 1, 24);
Any workarounds? I have assets with ~2cm Ground-sampling Distance / Pixel size and can'...
0
votes
0
answers
49
views
Deselecting features when zooming to certain zoom-level in Leaflet
I am currently setting up a Leaflet map. I have a GeoJSON-layer and I filter it at a certain Zoom-level. So when I zoom out all of Europe is showing and when the Zoom-level is greater than 10 some ...
0
votes
0
answers
11
views
Using a waccom tablet with QGIS, zoom-in works but zoom-out doesn't with the express key, why?
I am using an Intuos Wacom tablet to do some work with vectors and waypoints, anyhow I wanted to set up my express keys to make navigating easier like I usually do. I set on of my pair to zoom in and ...
0
votes
1
answer
36
views
Locking Scale when Panning using ArcGIS Pro
Is it possible to lock the scale of a map in ArcGIS Pro 2.9?
I'm manually editing a bunch of feature classes, so what I usually do is open the table, edit my field, then double click the next row ...
2
votes
1
answer
57
views
Providing parameters in a URL to select and zoom to a feature on startup [closed]
I have a Leaflet map with GeoJSON data that shows various properties and I would like to append a parameter like "owner" to a URL (not a coordinate) and have the feature selected and zoomed ...
1
vote
0
answers
131
views
How to know if state was change in Leaflet events using React?
I need to know when the bounding box of the Leaflet map changes after the move and zoom process. I need to access it in componentDidUpdate. I have tried the code below but it doesn't work.
This is my ...
0
votes
0
answers
551
views
Analog of zoom level in react-native-maps?
I am toying with migrating a web-based application to react-native. The web based application is well developed using leaflet (and react-leaflet). To show different marker images at different zoom ...
1
vote
0
answers
43
views
How to show more data in lower zoom levels with Vector tiles [closed]
I have downloaded OpenMapTiles Vector .mbtiles file for whole world data ~50GB, created a localhost to serve .pbf tiles and rendering them on client with maplibre-gl. At zoom level 12, minor roads are ...
2
votes
0
answers
66
views
QGIS - what the equivelant rendering scale dependencies for the zoom levels when generating XYZ Tiles (Mbtiles)?
I am trying to make a map from zoom 0 until zoom 12 in QGIS. All shapefiles have CRS: EPSG 900913.
What i am trying to acheive is eg: on zoom 0 will show just the map, then zoom 2 till 8 will appear ...
1
vote
0
answers
61
views
In Tile coordinates, how to get one zoom-level deeper but span the same area?
For an arbitrary tile region defined by (z1, x1, y1), how can we increase z1 to z1 + 1 but span the exact area defined by (z1, x1, y1)?
For example, consider t1=(2,2,1). If we want zoom=3 for the same ...
3
votes
1
answer
69
views
Zooming to coordinates on raster in ArcGIS Pro
I have a raster file with extent values set up:
Top: 6,185,000.0
Bottom: 6,175,000.0
Left: 1,340,000.0
Right: 1,345,000.0
I have to find a point on my raster at the following coordinate:
1,344,076....
7
votes
1
answer
69
views
Zooming feature without selecting it using PyQGIS
When I need to zoom to a feature, I have to select it first using layer.select(feature.id()) then I can zoom using mapCanvas.zoomToSelected(layer).
layer = iface.activeLayer()
layer.select(1)
iface....
3
votes
1
answer
140
views
QGIS 3.22 zooming pans map incorrectly to the right
I've come across this issue when trying to zoom in OSM.
Here is a video of the issue:
https://i.imgur.com/emqxC7S.mp4
I don't have it when using the QGIS world map. Basically zooming straight in ...
0
votes
1
answer
104
views
Hide Wikipedia plugin layer below certain zoom level in Leaflet
How can I turn the following code into a variable, so that I can choose, or not, to load it in the layer control?
and not anymore on moving the map or reaching this zoom level.
I added a var wikilayer ...
3
votes
0
answers
36
views
Zoom to non-geometric layer in QGIS
In QGIS, I have a non-geometric (layer A) layer which is joined to a geometric layer (layer B).
I can easily search in layer A, but I can't zoom to the found feature. I want QGIS to zoom to the ...
3
votes
1
answer
341
views
Is it possible to extract tiles layer as raster in QGIS?
Let's say I have a shapefile that contains multiple polygons and I open it on QGIS:
Let's also say that I activate the OpenStreetMap tiles layer under it:
I'd like to find a way to extract the tiles ...
0
votes
1
answer
34
views
QGIS Zoom full problem on WMS layer
I have a project in QGIS with an online OSM WMS layer and some other vector layers. When I click on zoom full, it zoom outs so that the whole world is shown through OSM WMS layer. Is there an option ...
1
vote
0
answers
61
views
Specifying center and zoom for ol.View
Is it a must to specifiy center and zoom when you declare ol.View?
Because it still works when I pass in the extent value to fit function.
Here's the example.
This is my map variable.
var map = new ol....
1
vote
1
answer
227
views
What is the mathematical relationship between Radius (meters) and the Zoom level of the map?
I've created an HeatMap (using mapbox-gl) and I want to achive a behaviour similar to Snapchat, I mean every time you press on Shape you get the coordinates of your tap and from here I want to get all ...
1
vote
0
answers
42
views
A certain layer disappears at certain zoom levels in QGIS
I have added a layer that is loaded into QGIS via a CSV file. At the beginning everything seems to be correct and the layer is visible in every zoom level. The layer is added with the "Watch File&...
1
vote
0
answers
166
views
Creating same size and quality MBTiles for all zoom levels with one image
I have downloaded a world map from QGIS in TIFF format. Also, I have world map sample in MBTiles format. I need world map 0-19 zoom levels. I have tried to convert tiff with 0-19 to MBTiles, but QGIS ...
1
vote
0
answers
21
views
QGIS 3D symbols disappear in 3D Map View while tilting and zooming map canvas
In QGIS, I am creating a 3D Map view of point data (Phong spheres) in a mountainous area (2m DEM). It all worked fine with v3.10. After updating to v3.20 the spheres start gradually disappearing upon ...
0
votes
0
answers
47
views
ArcMap freezes when drawing layout at smaller scale (with ArcGIS online imagery)
In layout view, when I change to a smaller scale (i.e., from 1"=80' to 1"=60'), the imagery basemap from ArcGIS online draws (seems to be complete) but no other layers draw. ArcMap, at that ...
1
vote
1
answer
2k
views
Is there a way to "zoom in" on a mapped polygon (SpatialPolygonsDataFrame) in R (ggplot) without it disappearing?
I am trying to plot some home ranges, and I'd like to "zoom" to a smaller area. I can plot the range polygon without issue, but the problem occurs when I try to look closer at a specific ...
2
votes
2
answers
89
views
QGIS zoom to predefined scale with mouse wheel
Do you know if it is possible to set QGIS to zoom to the predefined scales (in project options) when using the mouse wheel ?
3
votes
2
answers
161
views
How to change default shown layer of QGIS project in standalone Python app?
I'm developping a Python standalone app that needs a dynamic map (with the zoom and pan tools).
I chose to use PyQGIS that allows me to work with QGIS projects. I managed to create a class that takes ...
10
votes
2
answers
1k
views
Tying visibility of features to zoom level by attribute in QGIS
I know how to make the visibility of an entire layer conditional on the zoom level.
Is there a way to do the same thing for specific features? I have a road data set, where each feature has a class ...
2
votes
1
answer
39
views
Viewing LiDAR datasets at lower zoom levels in ArcGIS Pro
Is there a way to display LiDAR datasets at lower zoom levels in ArcGIS Pro?
Currently, I can only see the point cloud at a zoom of around 1:800.
What I would like: view the point cloud/LiDAR dataset ...
3
votes
0
answers
179
views
GeoServer wind speed with WMS
I have a GeoTIFF layer with spatial resolution of 3 km with two bands with wind speed components (u,v). I want to display these datasets with RasterAsPointCollection plugin with arrows size and ...
0
votes
0
answers
38
views
Large point data,not visible/queryable on zoom in
Using ArcMap. I have around 15 million points layer that I can only see them when I click on 'Zoom to layer'.
When I zoom in the points disappear, I cannot even get info of these (existing) points ...
1
vote
2
answers
160
views
OpenLayers: How to shift zoom level content for ol/sourceXYZ about one zoom level
The Swisstopo WMTS service assigns specific raster map content to specific zoom levels:
....
16: 1:25'000 Raster map
15: 1:50'000 Raster map
14: 1:100'000 Raster map
....
Here is a code example.
...
2
votes
0
answers
374
views
Layer disappears when zooming out past certain point in ArcGIS Online
I have shared several layers from ArcGIS Pro to ArcGIS Online, and one of the layers disappears when I zoom out past a certain point in the map (1:320,000). All of the layers work as they should in ...
1
vote
1
answer
740
views
OpenLayers zoom on a collection of points
I'm new to OpenLayers, but I have a working map with 5 points based on GPS coords working. however, it's not zooming to the extents of the points. Wondering what I've done wrong (could very well be ...
3
votes
1
answer
167
views
Defining zoom on tileset extents using CesiumJS
I work on windows 10 with Cesium 1.72.
NodeJS and Cesium work well.
I succeed in adding a tileset format3D tiles (Meshs + associated texture).
However, I would like to define a zoom on my tileset ...
1
vote
0
answers
50
views
Zoomscale method in QGIS C++ API
I am working on a custom QGIS application using QGIS C++ APIs.
I am able to render .mbtiles file of world blue marble as a raster file on Qgsmapcanvas. but when I call zoomscale API on canvas with ...
1
vote
1
answer
239
views
Clipping/ Zooming in on shapefile using R
I'm working on a shapefile of all the villages of Portugal from this link.
I've uploaded it to R:
#read in shapefile of portugal
portugal = readOGR(dsn = "./communities", layer = "...
1
vote
1
answer
2k
views
Mapbox GL JS - Is there a way to specify a different zoom level for mobile devices?
With Mapbox GL JS, is there a way to specify a different zoom level for mobile devices? I found two examples, both from the older mapbox.js (links below), but I can't seem to translate them to GL JS ...
0
votes
0
answers
38
views
Go to XY Coordinate is 1:40000
I am trying to use the "Go to XY Coordinate: tool. It used to zoom directly to the coordinates and now it is zooming to 1:38000. I am not sure why it has changed.
Any ideas on how to fix it?
0
votes
0
answers
241
views
How to zoom out in Openlayer in the particular extent?
I am creating the interaction for zoom in and zoom out using OpenLayers. I am able to achieve zoom in but I am not able to figure out how can I create zoom out to some extent. Here is my code for zoom ...
2
votes
1
answer
50
views
Zoom in for selected lands in OpenLayers
I am trying to make a selection from a search result. I managed to make the selection on the map using the code below.
Now my problem is that when I select one or more buildings with the same style, ...
0
votes
0
answers
77
views
Print layout of multiple maps revert to one identical map after save as image/zoom
I have a map with 8 graduated classes. I have created a print layout with 8 separate maps - one for each of the classes. I used "lock layers" to ensure that each separate map displays just ...
1
vote
0
answers
63
views
MapBox Studio: Styling Water in template dataset
I am using MapBox Studio with their own template dataset called Outdoors.
I discovered that categories of waterways can be addressed by classes such as river, stream, stream_intermittent etc. This ...
2
votes
2
answers
167
views
Making tiny objects visible for their location when zooming out
I'm adding small features to QGIS that I need to be in a precise location (trail signs) like so:
1:500
However, when I zoom out, they become invisible:
1:10000
If I switch the sizing to millimetres (...
1
vote
0
answers
59
views
Disappearing polygons when zooming in Feature Cache extent
I'm currently using ArcMap (v 10.6.1.) and an enterprise geodatabase (v 10.6.0) on SQL Server 2017.
I encountered a problem, when I build Feature Cache on full map extent and zoom in to my polygon ...
2
votes
2
answers
106
views
Navigator thumbnail panel in QGIS
Using QGIS, is there a way to add a navigation panel that shows a tiny coarse-resolution (zoomed out) version of the map, to illustrate which part of the continent that the main view-window is zoomed ...
5
votes
2
answers
599
views
How to disable map navigation in the ArcGIS Server JavaScript API v4.x
In the older version 3.x of the ArcGIS Server JavaScript API, it was possible to disable map navigation using disableMapNavigation() as explained in Disabling map in ArcGIS API for Javascript
What is ...