Questions tagged [zoom]

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

62 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
38 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 ...
3
votes
0answers
308 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
0answers
252 views

How to print out a road atlas with QGIS?

This is what I managed to do so far (first picture): Through the web tab and quickmapservice or OpenLayers plugin I loaded maps where on I managed to add a vector grid under research tools to then go ...
2
votes
0answers
39 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, ...
2
votes
0answers
169 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. ...
2
votes
0answers
230 views

Selecting and zooming in on features from standalone PyQGIS script?

I want to select and zoom in features in active QGIS project from external application. This script do all the things I need, except it does not affect currently running project. It selects and makes ...
2
votes
0answers
86 views

What parameters are used for calculating a place zoom level

I've been searching for a while how different map engines calculate zoom level for place names. I've found that OSM uses a mixture of type and population of a place, but other engines like Google and ...
2
votes
0answers
152 views

QGIS Atlas zoom to intersection between two different layers

I have two polygon layers, one is about different land owners boundaries and is used for atlas generation, and the other is about forests inside each property. In atlas generation sometimes i want to ...
2
votes
0answers
388 views

QGIS no touch zoom and pan

QGIS 2.12.1 under Linux Mint 17.2 Cinnamon: I have no touch zoom and pan icon. Touch screen works for panning and other stuff but I cannot pinch to zoom. Any fix?
2
votes
0answers
438 views

Adding multiple divIcons to each point in a GeoJSON - Leaflet

I am trying to add divIcons (SVGs) as markers to a point layer from a GeoJSON in a webapp using Leaflet. I need to have different sized markers at different zoom levels. I have asked related ...
2
votes
0answers
507 views

PyQGIS Set Extent for loaded layers - Refresh problem

I've written a plugin which loads a number of map layers (based on constraints) and I would then like to set the canvas extent to a selection of them. Code very similar to that below works perfectly, ...
2
votes
0answers
843 views

Quick way to select by attribute and zoom to selection in QGIS

I need to visually control hundreds of points in a layer on top of aerial photographs. Using the attribute table, selecting (with column filter expression) and zooming manually is cumbersome - so I ...
2
votes
0answers
87 views

Can't see WMS layer when I zoom

I have read many tips for the problem "layer becomes cloudy when zoom", but it doesn't work still. Where is the problem in my source? var wms = new OpenLayers.Layer.WMS( "Földrengések", 'http:/......
2
votes
0answers
2k views

How to get bounds coords by center LatLng point, width and height in pixels and zoom?

I have to calculate bounds coordinates to query mongodb box on server side to get data before google maps is loaded. How can I get four LatLng corners by center LatLng point, window width and height ...
2
votes
0answers
491 views

QGIS Web Client zoom and scale

I have a problem with setting up zoom levels and max/min scale in QGIS web client. It looks like that values used in GlobalOptions.js file does not apply. Right now ZOOM_LEVELS is 70, maxScale 50 and ...
2
votes
0answers
2k views

Are there more events in OpenLayers 3, besides “moveend”?

I am building an API on top of OpenLayers 3. I can't display here the whole code for professional reasons. This is a bit how my classes look like. // external file xgis.js xgis = {}; // xgis.map ...
2
votes
0answers
141 views

Moving and zooming map-layer while editing in QGIS?

I want to create lines with the help of "CAD-like improved line capture", make a point, pretend an angle or distance want to put the second point. To this end, I have to zoom out on the map, select a ...
1
vote
0answers
33 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
19 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]);" ...
1
vote
0answers
21 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: { ...
1
vote
1answer
77 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
0answers
36 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 ...
1
vote
0answers
184 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
0answers
26 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?
1
vote
2answers
604 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
1
vote
0answers
66 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({ ...
1
vote
0answers
63 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:...
1
vote
0answers
391 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 ...
1
vote
0answers
2k 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 ...
1
vote
0answers
108 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
0answers
298 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 ...
1
vote
0answers
181 views

WFS layers disappear when zooming out, does not appear back when zooming in

I work with a wfs layer. Because they are lots of features in this layer and wfs visualization can not handle them all, I unchecked the "cache" box. It works all fine except that some entities ...
1
vote
0answers
112 views

Programmatically export OpenLayers map with maximum zoom/highest resolution

I have a problem to export a OpenLayers map to a png or jpeg file. What I want is the full map and with maximum resolution, what I get is a part of the map with minimum resolution. The map is hosted ...
1
vote
0answers
133 views

Python, GDAL2 translate and MbTiles options

I try to apply this answer : Choose what zoomlevel to read from for mbtiles file in GDAL to a gdal call from python (witout using os.system() / subprocess.call() ) but i can't find how i should add ...
1
vote
0answers
440 views

Leaflet map more performance with a svg image

I created a leaflet-application with phonegap containing a svg image as my "baselayer". The performance is okay when i zoom in via double tap. But when i zoom in via two-finger-zoom the image starts ...
1
vote
0answers
612 views

How to zoom to selected layers or selected features with Openlayers

I have a map with different vector layers (sources are geojson files) on it, which are grouped in on array as it follows layers_group = []; layers_group.push(layer_1, layer_2); source_group = []; ...
1
vote
0answers
132 views

Set zoom level for tile map in ArcMap

How can set zoom level scale for tile map? I want set zoom level scale like google map. Set zoom level according to tiles.
1
vote
0answers
43 views

Show selected point in ol3 with maxscale layer

I have to display a layer with 14000 object. I use maxscale to limit zoom level displaying features. I want to select item on init but in the top level no item are loaded (maxscale). Do you have a ...
1
vote
0answers
483 views

How can I code a 'zoom to layer' applied to a vector layer when I build a QGIS standalone Python application?

I am trying to code a standalone QGIS application that is able to print a composed map that zooms in the same layer every time I call it. The feature that have to be zoomed in change its location when ...
1
vote
0answers
284 views

How to set zoom on the basis of the road in Google maps API?

I worked out a similarity Project a Google traffic, I would implement the same Google traffic visualization about the Data Traffic What a depending on the zoom level displays them or hides them. For ...
1
vote
0answers
86 views

How can I get raster layers to display when I switch to them, even if the zoom is too high for them?

I am using OpenLayers 3.15 and have an application that mostly does what I want it to do. However I do have a little issue with displaying some layers when I first switch to them. You can see it if ...
1
vote
0answers
79 views

Going to the zoomed view of a particular 3Dbuilding using an URL in cesium API

I have a cesium application which shows 3d buildings for an area. What I want is if I give some URL it should go to the zoomed view of a particular building. Say for ex: if I give http://localhost:...
1
vote
0answers
48 views

Why force retile when zoom change in OpenLayers 2?

I'm new to GIS and OpenLayers, and I can't understand why is it that OpenLayers 2 force the base layer to retile when zoom is changed. I'm talking about moveTo function in Grid.js, where following ...
1
vote
0answers
68 views

Same behaviour for minzoom for google maps api and leaflet

I need to implement the same behavior for leaflet and google maps for the case of minzoom. Google maps duplicates all the objects from the main map to the world`s copies, however leaflet doesn't since ...
1
vote
0answers
216 views

Zoom to a vector feature in a vector layer

I am using OpenLayers+GeoServer and I have a vector layer in a map with some features I would like to make a zoom and show the map centered in one of these features that I can get by ID. How can I do ...
1
vote
0answers
683 views

Setting the correct zoom level from Sector bounds for flat map using WorldWind SDK

This is not coming out correct for me. Setting the zoom level based on some other code I got on here using the EarthFlat model, which does not set the correct zoom for the placemarks within a sector ...
1
vote
0answers
489 views

ZoomTo not working in ArcGIS Runtime SDK for WPF?

I have a graphics layer. When the user selects an address from our software I want the map to ZoomTo that address. This works, but the user has to have an interaction for the map first. I thought this ...
1
vote
0answers
140 views

Enlarge region/features in shapefile

I'm completely new to QGIS. I have a shapefile over the counties in Denmark (see here for what the shape file looks like). The counties around Copenhagen are rather small and I'd like to add an ...
0
votes
1answer
24 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 ...