I expected a lot of other people must be trying to deal with the same issue, but I've been unable to find any information that fits this scenario. It seems that this should be possible but I can't figure out how it would be done. So I think the best work around would be to show them at double size.Įg, grab the tiles that would normally be used if zoomed out by 2x and display them at 2x their actual size. I can easily scale vector symbology, just my multiplying the various width and size parameters by the screen scale factor this is tested and workingbut I cannot do anything similar for rasters.
I've verified that the rasters look fine at double size by magnifying the view in which they are displayed by 2x, but of course this magnifies everything else in the web page too, which is undesirable Eg, widgets are double-sized, vector layer symbology gets blurry. I know this would make the rasters look a little blurry, but in theory no more so than if they were displayed on a standard resolution screen. Is there some way to get Openlayers to display these standard resolution tiles at double the resolution or x1. The result is that the map features are all too small, thin and spidery looking and text is very difficult to read for people with standard eye sight impossible for anyone with aging eyes. Many of these layers are only available in standard resolution, but most of the users will be using Retina or high DPI screens. My Openlayers application can display tiled rasters from arbitrary online sources. Arc GIS for Desktop.By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. For example, a multidimensional WMTS service may contain tiles that were generated for each value of a dimension such as time or elevation.
How to adjust high-DPI scaling in Windows 10ĭimensions -lists the available dimensions, if the WMTS service is a multidimensional tile service. Tiling scheme -lists the WMTS tile matrix sets, which contain information regarding the coordinate system, map scales, extent, tile size, and tile matrix size. Style -lists all available representations of the map. The WMTS service layer supports style, tiling scheme, and dimensions configuration properties. You can tell if the layer needs repairing because it won't be drawn, its check box in the table of contents will be unavailable, and there will be a red exclamation point next to its check box. The Set Data Source button on the Source tab enables you to repair the map service layer if for any reason the connection to the server was interrupted when opening the map.
To access the Source tab, Double-click on the service layer in the Table of Contents window, or Right-click on the service layer and select Properties. WMTS services are pregenerated images that are stored as small tiles covering the entire map extent and for multiple scales.
The following example uses the class are common tasks for working with WMTS service layers. You can change how MapProxy calculates the origin of the tile coordinates, if you want to use your MapProxy tile service with the OpenLayers OSM layer class or if you want to use a client that does not have a TMS layer. The OpenLayers TMS and OSM layers already handle the difference. Have a look at the example configuration for OpenStreetMap tiles for more information on that topic. See the tile service documentation for more information.Īlso remember that OpenStreetMap and Google Maps tiles have the origin in the upper left corner of the map, instead of the lower left corner as TMS does. Note that we used the /tiles service instead of /tms here.