Questions tagged [zoom]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
19 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
0answers
21 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
0answers
13 views

Operations Dashboard Category Selector Zoom 'settings'

Is there code that sets Category Selector Zoom scales? I have my dashboard map's default scale set to just outside the boundary area of interest - in my case a large long N/S city. Within our city we ...
0
votes
0answers
21 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
1answer
34 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
0answers
24 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
0answers
18 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 ...
0
votes
0answers
22 views

Limit number of displayed points based on zoom level in GeoServer

My goal is to display large datasets with GeoServer using zoom level limits. My idea is that I only display the parts of the datasets in a certain zoom level, but after each zoom, I want to increase ...
2
votes
2answers
73 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
0answers
20 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 ...
1
vote
2answers
33 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
2answers
143 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 ...
3
votes
1answer
73 views

Prevent marker from moving in QGIS when zooming

I was wondering how I can prevent the movement of my markers when zooming out in QGIS. I have this sample image of Auckland on a larger scale where everything seems to be ok: Then I zoom out a little ...
0
votes
0answers
29 views

Zoom into country polygon with Leaflet with mouse click [duplicate]

I have a GeoJSON file and I'm trying to create a click event to zoom into the specific country. I would also like to zoom out. So far the click events is not working, what am I doing wrong? // ...
2
votes
1answer
60 views

Zooming to selected features from multiple layers using QGIS

Is it possible to zoom to features selected from multiple layers in QGIS?
0
votes
1answer
50 views

Updating map after zoom change

I'm building a map that uses a conditional statement to determine what data to load based on the zoom level. However, the conditional statement is only fired when the map first loads, as opposed to ...
1
vote
1answer
55 views

Cannot set zoom past 23 in Leaflet

How can I set the zoom to 23 or more? When I try to set the zoom higher the map image disappears. I am able to zoom in past 23 once the map is activated in a browser, but I can't set the zoom past 23 ...
0
votes
0answers
40 views

Disable zoom when reached max or min zoom level

Is it possible to set the map to a min/maxZoom level so that it's not possible to zoom further and the current map-view doesn't change?
1
vote
0answers
33 views

Vertically fit an Open Layers map in a div

I've created an Open Layers map similar to this example I've mocked up: https://codesandbox.io/s/seamlessly-repeating-vectorlayer-forked-igqti?file=/main.js [EDIT: The above link now shows a commented ...
0
votes
0answers
64 views

ArcGIS Python API zoom_to_layer() attribute error

I am working with the ArcGIS API for Python mapping widget within the ArcGIS jupyter notebook environment. I've successfully connected to my organization's enterprise portal, grabbed content, mapped ...
0
votes
0answers
145 views

Display Features based on Zoom Level using OpenLayers

I want to display roads(linestring) on the map using OpenLayers.currently, I manage to assign styling based on road type but when I run the server I can see all the data displayed. I want to change ...
0
votes
2answers
37 views

QGIS doesn't load Mapview after zooming

I have a large QGIS projekt with about 50 layer, several of which are QuickMapService Base maps or other WMS-Layers. I work with this project for over a year now and had no problems. I run QGIS on a ...
0
votes
0answers
42 views

Getting QGIS “zoom to layer” to work with PostGIS data in multiple projections

So I have a .qgs file that contains multiple postgis layers, some in EPSG 4326 and some in EPSG 26910, with the .qgs file in 4326. When I use the "zoom to layer" functionality on the layer ...
0
votes
1answer
190 views

Min and max zoom levels/scales for a QGIS project

We've built a qgis project for use in education and we want to set up a min. and max. zoom level (or scale) for the whole project. In the project properties, we can specify some "project predefined ...
0
votes
0answers
247 views

Leaflet zoom out does not respect zoomDelta all the time

I have a leaflet map (version 1.6.0) with zoom control. It works correctly most of the time, but what I noticed is that on zoom out the zoom delta is NOT always consistent. To clarify, this happens ...
0
votes
0answers
35 views

Geoserver output is too small also in WMS

I encountered a problem in geoserver. My shapefile output is very small even when I output in my WMS using GeoExt tree-legend. Here is my Layer Preview in Geoserver: This is my code in GeoExt tree-...
0
votes
0answers
31 views

Disable mouse wheel zoom in QGIS 3.12.3-Bucuresti [duplicate]

I'd like to disable using the mouse wheel to zoom. I have an Apple Magic Mouse and it's way too easy to accidentally scroll/zoom while trying to do other things. It looks like this option has come and ...
0
votes
1answer
360 views

How to calculate scale from zoom level in Google Earth Engine?

I found the following formula on the interwebs, including on some google group from someone claiming to work at Google: var scale = 156543.03392 * Math.cos(mapCenter.lat * Math.PI / 180) / Math.pow(2,...
3
votes
3answers
74 views

How to make the display of a satellite image the same across users?

I have a group of users counting objects in a satellite image. To keep viewing conditions the same I wish each user to have the same display (e.g., the same scale). To do this, I have asked users to ...
1
vote
1answer
44 views

Show popup only with a specific zoom level

On my map I've a point vector that is showed as heatmap down to one a specific zoom level, after this I show the points normally. var geoBlogHeatmap = new ol.layer.Heatmap({ title: 'Heatmap', ...
0
votes
1answer
179 views

PostGIS Vector Tiles zoom affects tile production

I'm building a small tile service to present postgis data on the fly to a leaflet map. for testing I am using the data set ne_110m_admin_0_countries The first problem is the extent of the tiles ...
1
vote
0answers
60 views

Changing pan map symbol in QGIS 3.12

I work with QGIS 3.12 and the default pan map symbol is I try to find a way to change it into an arrow.
1
vote
0answers
35 views

Support ArcGIS tileMap variable-zoom file within Mapbox-GL-JS

I'm trying to consume vector tiles and style file generated by ArcGIS, in Mapbox-GL-JS. With a bit of tweaking, it all works, except that the vector tiles themselves have been generated to varying ...
0
votes
0answers
97 views

Leaflet not showing popup depending on zoom

I've a map with a leaflet popup showing if a click is performed on apolygon. But for some reason, the click to display popup only works at a certain level of zoom, if it's at a lower level than the ...
2
votes
1answer
102 views

QGIS - Zoom to current location

Is there a way of zooming to the current geographical location of the device running QGIS? I want to be able to zoom to where I am at any time and maybe set the zoom extents too.
2
votes
1answer
457 views

Preload map tiles that are outside current map view in Leaflet

I am using Leaflet framework for showing basemaps and the GeoServer layers. When I zoom out or pan the base map, tiles outside current view are first shown blank and then loaded with tile content. ...
-1
votes
3answers
525 views

Zoom To Layer - ArcGIS for Javascript API

I am new to JS and I don't quite know how to integrate the Zoom to Layer functionality in my code snippet. I have tried several ways and have failed. Any pointers would be very much appreciated. I ...
0
votes
1answer
614 views

Problem with mouse zoom in Open Layers 6

I'm using latest version of OpenLayers 6 and I noticed that even in the official examples there is small problem (or it is a feature) with mouse zoom. When I set zoom restrictions then while using the ...
3
votes
1answer
121 views

Remove white gaps which appear when the local tile map is zoom in-out in QGIS?

I am using QGIS with local XYZ layer. When I zoom in, zoom out and move the map the layers load slowly. First there is white gaps int the edges, then the map loads and the gaps close. On the other ...
2
votes
0answers
66 views

ArcMap stops displaying feature classes when zoomed to 1:846 or larger scale

There is a specific zoom-in point at which all of the layers in data view stop drawing and only the basemap is visible. This includes geodatabase feature classes, shapefiles, raster images, ...
0
votes
1answer
270 views

Dynamic extent indicator in ArcGIS Pro

I'm working on map series in ArcGIS Pro, where I'm generating 5129 maps using fixed layout, though till now I got output which is needed for my project, like using dynamic text but I'm facing one ...
2
votes
1answer
54 views

qgis2threejs navigation Android

The navigation of a 3D qgis2threejs map for an Android tablet is not optimal. Test on 7 and 10 zoll. Problem: If I want to zoom in or out with two fingers the zoomlevels are to big. It should be small ...
-1
votes
1answer
60 views

Zooming to point just added to feature class using ArcPy with ArcGIS Pro

I need to add zoom to a point in a feature class I just added it to. But I don't necessarily have a layout at this point. I was able to do this in arcmap. I looked like I could zoom to selected but ...
5
votes
1answer
10k 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 ...
-1
votes
2answers
232 views

Zoom automatically in the feature after clicking on it in QGIS

Is it possible that after clicking a feature in QGIS to zoom automatically there?
1
vote
0answers
230 views

Leaflet setting zoom level for a specified GeoJSON layer feature

I would like to set the level of visibility at the specified GeoJSON feature property. As a continuation of this query: Leaflet distinguishing sublayers within one GeoJSON layer Where I figured out ...
1
vote
0answers
30 views

OpenLayers zoom selected feature

In our OpenLayer.js we first call the maximum extent of the map: "maxExtent: new OpenLayers.Bounds (X1, Y1, X2, Y2),". After the layer definition follows "map.addLayers ([lyr1, layer3, layer4]);" ...
4
votes
1answer
130 views

QGIS - zoom extent in project file?

I have about 600 folders with shapefiles always having the same filename per folder (which contain different data, of course). I've created one QGIS project file to open those shapefiles per folder ...
1
vote
0answers
30 views

Zoom to extent using geom or xmax, ymax?

I made a function to zoom to polygon geom if I click the button. This is my script: $.ajax({ type: "POST", url: 'core/zoomtolocation', data: { ...
3
votes
1answer
118 views

Zooming to specific layer using PyQGIS

Using PyQGIS with QGIS 3, I am trying to zoom in a specific layer but I have not succeeded. He tried several answers but it doesn't work for me. Either it gives me a mistake or it does nothing to me ...

1
2 3 4 5
7