Questions tagged [zoom]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
27 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
44 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
55 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
38 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 ...
0
votes
1answer
27 views

Zooming to point just added to feature class using ArcPy

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 ...
4
votes
1answer
91 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
95 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?
0
votes
0answers
24 views

Map does not render completely (OpenLayers 6.1.1)

When I zoom in my map, these blank spaces (image below) appears and does not render sometimes. This problem appeared when I updated OpenLayers from 5.3.3 to 6.1.1 Also: I'm using UTM SIRGAS 2000 ...
1
vote
0answers
37 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
21 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
85 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
25 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
65 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 ...
0
votes
0answers
23 views

Zooming and resolution

As I zoom in and explore a base Google Earth Engine map, or Google Earth Pro map I come across tiles/areas that have better resolution than the next tile. Why is that? Is there a way to get the same ...
1
vote
0answers
73 views

Leaflet Zoom on WMS-Layers - Error: Attempted to load an infinite number of tiles GridLayer.js [closed]

I use Leaflet 1.5.1 for showing WMS layers on a GeoServer 2.15.1. I can only zoom up to zoom level 14. If I continue to zoom into the map, I see the following error message. Error: Attempted to load ...
1
vote
1answer
45 views

What is the difference between <ogc:Literal>wms_scale_denominator</ogc:Literal> and MaxScaleDenominator/MinScaleDenominator

I take my first steps in creating SLDs using the documentation. For TextSymbolizer I found this code snippet to achieve different views in different zoom levels - Zoom-based views. <...
1
vote
1answer
71 views

Raster display problem [closed]

When I zoom too much on a raster the layer does not appear anymore. How to make it appear anyway?
1
vote
1answer
28 views

Built-in ZOOM function

Does anybody know where i can find implementation of feature called "Zoom to Feature". To use this function from GUI you have to right click on layer then choose "Open Attribute Table" then right ...
1
vote
0answers
26 views

Extend LineString on map zoom [closed]

In OpenLayers 5, I have some LineString that represent the streets. Now I want that when the map is zoomed also the LineString should be zooomed. For example in the following image, I have two ...
3
votes
1answer
242 views

Resize vector marker according to zoom (i.e. marker constant size in meters) in Leaflet?

I have a map with 20 markers on a geojson layer. They are all from the same SVG and represent a certain area on the map (meaning they represent a circle of constant radius in meter on the map). I need ...
0
votes
1answer
54 views

Map .pbf CRS in QGIS?

I am trying to learn the Vector Tile Map, and got one pbf file for one tile. I can load it into QGIS, but how can I know the CRS? http://PBFSERVER/13/2411/3080.pbf Update: I am trying to follow ...
0
votes
0answers
18 views

Black border around JPEG with world file at diferent zoom levels QGIS

I have noticed in the QGIS view port my georeferenced JPEG with a world file has black edges only above a certain zoom level. I have already specified 0 as the no data value. If I zoom in close to the ...
2
votes
2answers
239 views

Scaling tiles for missing zoom levels in Leaflet?

I have two sets of tiles. One for zoom level 10 and one for zoom level 14. However, I want to be able to see tiles on my map at zoom levels 9 through 15. For the nonexistent sets of tiles I want to ...
3
votes
0answers
43 views

QGIS 3 embedded forms - zoom or pan to child features

I have two tables and a relation defined on them via an 'in-between-table' (many-to-many relationship) like this: This gives me nice embedded forms like shown below: What I would like to achieve is ...
0
votes
1answer
22 views

Map that automatically zooms out [closed]

Suppose I have an online store in San Francisco, California. Most of my customers are from the Bay Area, but I do have some customers from the rest of the U.S. For my analytics platform, I want to ...
0
votes
1answer
54 views

Creating Select Then Zoom Tool using ArcPy? [duplicate]

I have been trying to create a tool to make a simple select then zoom to selected but I've been running into some issues. I've been using the code from this original posting (https://community.esri....
3
votes
1answer
185 views

QGIS: zoom further than threshold in WMTS

Is there a way to zoom further than the threshold allowed by a wmts feed? Of course the idea is not to download any more images as that would be impossible. I just want to zoom on the already ...
1
vote
1answer
83 views

Choosing correct zoom level to display given area in square km using Leaflet?

I would like to set the zoom on a Leaflet map based on an area (in km^2). I am looking for a simple function that would approximately convert an area of 510,064,472 km to zoom level 0 and (if I read ...
1
vote
2answers
54 views

zoom set to 4 but on get zoom shows zero ,OpenLayers

var map1 = new OpenLayers.Map('firstmap'); var wms1; var state1="<%=state%>"; var cql_filter1="st_nm='"+state1+ "'"; wms1 = new OpenLayers.Layer.WMS( "OpenLayers WMS", "http://localhost:...
0
votes
0answers
129 views

Auto zoom when uploading shapefile R / Leaflet

I would like to configure an automatic zoom at the canvas of the shapefile layer that I upload. For that it would be necessary that a function automatically detects the latitude and the longitude of ...
0
votes
1answer
827 views

React-Leaflet: Marker has wrong position after zoom out

When I show a marker in the center of the map it is OK. But when I zoom out, the marker is like staying at the same place. Finally its position is very wrong. Why is it not moving together with the ...
1
vote
0answers
37 views

Creating ArcGIS Online webapp builder Cemetery search?

I created an ArcGIS Online webapp builder app for a cemetery project. I loaded a relationship class into ArcGIS Online that relates plot polygons to a table of interred individuals. It is a 1 to many ...
0
votes
0answers
131 views

Polygon Google Maps v3 render problem in zoom

I followed this documentation https://developers.google.com/maps/documentation/javascript/examples/polygon-simple, but I have a problem with zoom and polygons. Depending on the zoom level, the polygon ...
0
votes
1answer
67 views

Increase max zoom for large scale raster with GeoServer

I'm serving a large scale raster (warehouse map) with GeoServer. I consume the WMS in a Leaflet web client and coordinates are projected according to EPSG:3857. But it seems that maximum zoom is ...
1
vote
1answer
521 views

OpenLayers 5 ZoomToExtent API

I have a button with class search_ and when clicked i want to change the map view to a specific extent. I am using ZoomToExtend API. Here is what i try, without anything working: var roadlayer = ...
1
vote
0answers
217 views

Zooming in to area using Copernicus Open Access Hub?

I can pan but I cannot zoom in when using the Copernicus Open Access Hub. This makes it difficult to order data. I need to know how to zoom in on an area. I know how to zoom to a product. ...
1
vote
1answer
177 views

Preventing map move on zoom in Leaflet?

How to prevent the map from moving when a user zooms in with scrollwheel? I would like the center to be preserved in any case. var mymap = L.map('spotmap', { dragging: false }).setView(...
1
vote
1answer
177 views

Disable wheel scroll zooming with ArcGIS Javascript API 4.11

I want to disable wheel scroll zooming so the viewer can scroll down the page without losing the cursor in the map. But this code freezes scrolling altogether, so when the cursor is over the map, ...
-1
votes
1answer
41 views

Zoom To Query result

I have SQL query in my code and after it responses I want to go to query result extent. What I have now is that after respond it goes somewhere in Atlantic ocean. Here is my code: //rukis Seqmna ...
1
vote
0answers
27 views

zoomScale() doesn't work in QGIS 2.14 standalone c++ application

Can't set scale for my canvas with mapCanvas.zoomScale(50000); Seems like canvas is zooming to 1:1 and for a few seconds I can't zoom in or zoom out with mouse wheel. Any suggestions?
2
votes
0answers
170 views

Increasing zoom level in 3D View QGIS Desktop?

I would like to increase the zoom level for my mosaic raster image in the 3D View of QGIS Desktop 3.4.4. I made a mosaic out of four raster images downloaded through the STRM-plugin for DEM data. ...
1
vote
1answer
157 views

In OpenLayers how do I prevent linestrings and polygons disappearing as I zoom out?

I can see how to do this using a feature style function with 2 styles (similar to the Custom Polygon Styles example). One would be the normal linestring/polygon one and used at high enough zooms. The ...
4
votes
1answer
2k views

What are possible values of iconSize in Leaflet Marker Icon Options?

I have a very standard script: var redIcon = L.icon({ iconUrl: '1.png', iconSize: [10, 10], // size of the icon iconAnchor: [5, 5], // point of the icon which will correspond ...
0
votes
0answers
41 views

Trying to figure out ArcGIS API's `mapScale` variable and how it maps to OpenStreetMap's zoom level

I'm using ArcGIS' /export endpoint to get an .svg of a few map layers given a specific bounding box. However, when I apply the .svg as an image overlay to OpenStreetMap's world map using Leaflet, the ...
1
vote
1answer
44 views

What equivalent zoom level would ISS astronauts would be seeing the Earth?

Like for Google Maps, there are 20 zoom levels. What zoom level would approximately give us the view that astronauts have?
2
votes
3answers
2k views

Zooming/panning map in QGIS layout independently from frame?

I am coming from ArcMap. Working in the layout view, I had buttons to zoom/pan data and other buttons to zoom/pan the view itself. In QGIS, I can't seem to be able to achieve this. The only buttons I ...
4
votes
2answers
2k 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 ...
1
vote
3answers
699 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
49 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
104 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 2 3 4 5 7