Questions tagged [zoom]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
29 views

Adding data to existing .aprx layout and zooming to extent of new data using ArcPy with ArcGIS Pro

I need to add data to an existing .aprx layout and zoom to the newly added data extent. Then, I need to export layout with new data as a JPEG. This workflow is not clear online. My data is not in a ....
uas dev's user avatar
0 votes
0 answers
14 views

Displayed entities toggle at each zoom level on OpenLayers map [duplicate]

I have a PostGIS table connected to my GeoServer in which I have published a layer of 80 multipolygon features. The multipolygons have very different sizes and are displayed correctly in the ...
GisUser's user avatar
  • 632
1 vote
2 answers
50 views

Show/hide feature text depending on zoom in OpenLayers 7

I'm working on a method to show or hide feature labels (text) based on zoom level. I have a working example that uses setScale on the style object of the feature and is triggered by the "moveend&...
Andre Hulet's user avatar
2 votes
2 answers
38 views

Limit WMTS zoom level in QGIS

I am using the Ordnance Survey Maps API WMTS in QGIS. This WMTS provides tiles up to zoom level 16 for free, but charges above this. Can I limit QGIS to only attempt to fetch tiles below this ...
Ari Cooper-Davis's user avatar
1 vote
1 answer
49 views

perform zoom on NOT opened APRX

I was planning to write a script which would save a copy of aprx from the template and perform the zoom on all Layouts. Just to simplify things I will give an example of one Layout. On Layout called ...
user113001's user avatar
0 votes
1 answer
36 views

Limit map zooms to integer zoom level after initial fractional zoom in Leaflet?

I have a map that defaults to a fractional zoom level for a particular reason. (I need to keep it this way if at all possible.) However, whenever the user zooms in or out by any means, I want the map ...
ysi_d's user avatar
  • 25
0 votes
1 answer
26 views

Zoom to layer bounds on popup close in Leaflet

I have a GeoJSON data layer in a small Leaflet project and initially I zoom to its bounds. map.fitBounds(dataLayer.getBounds()); I bind popups to each feature and zoom to the clicked feature when the ...
winnewoerp's user avatar
1 vote
1 answer
47 views

Initial zoom to GeoJSON object from file (.js) in Leaflet

I am building a viewer with Leaflet API and OpenStreetMap base. I want that when I enter this viewer it shows me immediately in the initial visualization the extension of my layer that I am using. For ...
MrShaggy87's user avatar
0 votes
0 answers
20 views

Limit the zoom and center on a fixed zone

I would like to create a folium map centered on one location and prevent users from moving outside the zone. We can define a min_zoom, so that the user can not zoom out for ever. import geopandas as ...
John Smith's user avatar
0 votes
2 answers
37 views

Rounding scale bar to nearest number up using ArcPy in ArcGIS Pro

I have a script that zooms to the selected layer, Site Boundary (always different size, geometry and location) on specific Layout (called Elevation) and zooms to that feature. If the record is very ...
user113001's user avatar
0 votes
1 answer
27 views

QGIS Zoom & Navigate in overview panel itself?

Is it possible to zoom in on the overview panel itself? I think having done this in the past, but can't find how again. The overview panel always shows the full extent of the overview layer(s). ...
glenndm's user avatar
  • 83
1 vote
0 answers
23 views

How do I put my map into layout view?

My intent is to export my map from layout view, after giving it a title, legend, scale and north star. When I switch my document from data view to layout view, nothing happens. The view of the map ...
Noah's user avatar
  • 11
0 votes
2 answers
52 views

ArcGIS Pro zoom to previous extent

I am getting started with ArcGIS Pro 2.9 and I want to know how to zoom to previous extent preferably using a button as in ArcMap, since I am working on a foreign laptop and the keyboard configuration ...
nanunga's user avatar
  • 513
0 votes
0 answers
11 views

Resolution (?) changes when zooming in local scene ArcGIS Pro

I've made a polygon feature with varying Z-values on the different vertices. It's based on sea level changes in different areas, and I intend to display elevated shorelines in a larger region. The ...
skuol's user avatar
  • 1
4 votes
1 answer
68 views

How to use XYZ tiles from zoom 11 to a higher zoom

I have generated my own map tiles for zoom 11 (only). I display these tiles in QGIS via XYZ tiles (as a new connection - file:///D:/tiles/11/{x}/{y}.png). They show up fine for the zoom 11. However, I ...
Lubor's user avatar
  • 43
-1 votes
1 answer
66 views

ArcPy "listElements" error reported

I'm writing a script to convert a CAD polygon feature in a shapefile, calculate area(ha) in a new field and zoom to it in a 25.000 scale. import os, arcpy, sys from arcpy import env #PAR�METROS DA ...
Alexandre Soares's user avatar
1 vote
0 answers
29 views

Basemap projection seems to change with zoom level

I have imported a point vector layer which is in ESPG:4326 - WGS 84 containing points from all over the world, and added the OSM Standard basemap from the QuickMapServices plugin. When zoomed out, I ...
saygdaybob's user avatar
1 vote
1 answer
45 views

PyQGIS zoomscale freezes map canvas

I have a PyQGIS code made partially with graphical modeler and some personal completion. Basically, based on this code I want: Type any city from my point shapefile, select it by attribute. Zoom to ...
Marin Marian's user avatar
4 votes
4 answers
315 views

Zooming to the maximum raster cell value in QGIS

I have a Float 64 TIFF in QGIS that has greater than 500 million cells. Without converting to a point layer, is there a way to zoom to the cell that contains the maximum value? I have looked at ...
Dunner's user avatar
  • 43
0 votes
0 answers
26 views

QGIS 3: Need to bind "zoom last" and "zoom next", is there a standard/customary setting for them? I'm considering Shift+leftArrow and Shift+rightArrow

I find it indispensable to have a keyboard shortcut for the "zoom last" and "zoom next" commands. I'm considering binding them to shift+leftArrow and shift+rightArrow which as of ...
user99006's user avatar
  • 164
0 votes
0 answers
21 views

GeoServer GroupLayer GetFeatureInfo returns wrong layer feature

I'm currently facing an issue with GeoServer and its GroupLayer functionality. I have created a GroupLayer named confini containing three layers: tutorial:Reg01012023_WGS84 (Regions), tutorial:...
stefano_rizzo's user avatar
1 vote
1 answer
86 views

Zoom on selected features from drop down list in Leaflet [duplicate]

I want to add a GeoJSON layer to leaflet map from local a drop down list in above the map and when I select features the map will zoomed on the dataset is call on head part as <script src="./...
Solmaz's user avatar
  • 129
0 votes
0 answers
92 views

Zoom on the features on map from the drop down list

How can I add a drop down list on HTML so that when I select a item in list, zoom on a feature on the map in HTML page occured. I will use Leaflet map for that purpose. I want to select provinces from ...
Solmaz's user avatar
  • 129
0 votes
0 answers
35 views

Set zoom level in MapTiler plugin for QGIS

I use the MapTiler plugin to create the map. And I want to show the road network as well. It would be great to have the ability to display roads regardless of zoom level. The pictures show what zoom ...
Jonny's user avatar
  • 105
0 votes
2 answers
91 views

Handle only last event in OpenLayers map zooming [duplicate]

I have an application using OpenLayers 6 where I am listening to map.getView().on('change:resolution', ...). When the user zooms with the scroll wheel on the mouse, my handler gets blasted with dozens ...
superlazy's user avatar
  • 101
1 vote
3 answers
121 views

SkyVector zoom levels vs. rest of the world

Has anybody ever figured out the, crazy backwards unconventional zoom levels on skyvector.com? All I'm trying to do is make the equivalent hyperlink for, say, an OpenStreetMap hyperlink. Why does it ...
Dan Jacobson's user avatar
0 votes
0 answers
151 views

Preloading map tiles for different zoom levels in Leaflet

Preload map tiles that are outside current map view in Leaflet talks about how to preload map tiles that aren't currently in the viewport but are at the same zoom level. But what if I wanted to ...
neubert's user avatar
  • 338
8 votes
1 answer
136 views

Zooming to each vector layer extent, one at a time, using PyQGIS

I'm trying to write a python script that zooms to each layer's extents and then exports the canvas as an image after every zoom. I wrote a for loop that iterates through each layer, makes each one ...
I Love Mapping So Much's user avatar
1 vote
2 answers
376 views

Offset of markers and polygon depending on zoom level in Leaflet

I have run into a problem with a suspicious offset what comes to self created polygon using Leaflet. I am creating a website using NodeJS (and Pug for rendering the HTML itself). Using Leaflet, I ...
user220669's user avatar
0 votes
1 answer
266 views

Resizing a GeoTIFF to a specific zoom level

Say I have a bunch of GeoTIFFs that are very high resolution. Like they could be used with a zoom level of 25, without interpolation, if you created tile layers using gdal2tiles. The max zoom level my ...
neubert's user avatar
  • 338
0 votes
1 answer
234 views

QGIS2Web - OSM and one WMS layer disappear when zoomed

I've created a nice map for my work. However, the two layers, both important to me, disappear when zoomed in enough. One layer (WMS) disappears at 1:500 while the OSM layer at around 1:300. I would ...
Tom Tchibo's user avatar
1 vote
0 answers
28 views

How could I replace fixed conditions to get clustering EPS for some calculation?

I use a function of DBSCAN for clustering, that takes the EPS value as a parameter (radius that defines which points will be grouped together). To set the EPS I use the following switch case: let ...
Tchiteu Abloh's user avatar
2 votes
1 answer
115 views

Increase the visibility range at a small scale for a georeferenced TIFF tile layer in ArcGIS Online

I am building a webmap in ArcGIS Online whereby I will be importing multiple historical maps saved as TIFFs after first scanning them, saving them in Photoshop, and georeferencing them in ArcGIS Pro. ...
I_Don't_Like_Mercator's user avatar
1 vote
1 answer
568 views

Calculate zoom for given bounding box and map size in OpenLayers

Is there a way to calculate zoom for given bounding box and map size in OpenLayers? What I can do is fitting the map and then reading the zoom from view but I need to calculate it without setting the ...
Martin's user avatar
  • 11
0 votes
1 answer
115 views

Search feature by attribute and show centered on map in OpenLayers?

I have a layer in OpenLayers and I would like that, when clicked to become visible, it shows a text box or something similar, so that the user can enter a code. Then, when the layer is shown on the ...
user12538529's user avatar
0 votes
0 answers
49 views

Prevent Mapbox studio from adjusting boundaries granularity depending on zoom level

While editing a styles template in Mapbox Studio I noticed that no matter what opacity you choose for boundary lines, there's always a threshold, i.e. on zoom levels lower than one particular level ...
Leo Lucini's user avatar
2 votes
0 answers
74 views

Mapnik image render not corresponding to generated tiles

I successfully manage to install a tile server using Mapnik following this tutorial: https://switch2osm.org/serving-tiles/manually-building-a-tile-server-ubuntu-22-04-lts/ The tiles are fine and look ...
jpmaps's user avatar
  • 21
5 votes
1 answer
385 views

Showing points as one big point

I've already made a map in QGIS, but the problem is that all the points of the coordinates are concentrated in one area in the map and I have to zoom in to see that it is several points. Is there any ...
Wafaa's user avatar
  • 51
0 votes
2 answers
681 views

Using ArcGIS Online Dashboard Map Zoom

I have a dashboard with a few different elements on it. The Map element and the List element are connected to each other and I have them set up that when you click on a feature name from the List ...
mv9916's user avatar
  • 53
1 vote
1 answer
129 views

Layer filter in viewport

Is there a way to display the geometries in the "Layer" viewport, so that you can zoom to the geometry in question with a right click. I only know the categorized view via the layer design. ...
Ma Fo's user avatar
  • 671
0 votes
0 answers
134 views

Zoom to and highlight search result in OpenLayers

I have a function to search from layer. I got the desired results, so I want to zoom-in and highlight the results I found. How can I do that? This is my code: var sothuaMap = document.getElementById('...
Jayzz's user avatar
  • 85
0 votes
0 answers
138 views

How to change Zoom button in PopupFeature with Openlayers?

I'm using the code https://viglino.github.io/ol-ext/examples/popup/map.popup.feature.html to create the Popup, to show the features information. As can be seen in Figure 1, we have a magnifying glass ...
user210138's user avatar
2 votes
2 answers
384 views

Zooming using getLayerExtent property of MapFrame not always zooming using ArcPy with ArcGIS Pro [closed]

To see this problem: Start ArcGIS Pro 3.0.0 (or any version you wish to test) Create a new project using the Map template, call it TestProject in C:\temp and tick the checkbox to make a new folder ...
PolyGeo's user avatar
  • 64.9k
0 votes
0 answers
94 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 ...
BJoy's user avatar
  • 73
5 votes
1 answer
342 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 ...
jens wiesehahn's user avatar
2 votes
0 answers
92 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'...
Joshua Himmelstein's user avatar
0 votes
0 answers
378 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 ...
Chris_Len's user avatar
0 votes
1 answer
618 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 ...
sushi's user avatar
  • 305
2 votes
1 answer
486 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 ...
Wynand's user avatar
  • 21
1 vote
0 answers
873 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 ...
Icha Cahya Wulan's user avatar

1
2 3 4 5
9