Opened 3 years ago
Last modified 3 years ago
#20030 new enhancement
Add support for HDPI imagery
Reported by: | *Martin* | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core imagery | Version: | |
Keywords: | HiDPI | Cc: |
Description
Some raster maps support higher resolution which is suitable for HDPI displays. For example Freemap Outdoor (covers middle Europe):
"tms[6,19]:https://outdoor.tiles.freemap.sk/{zoom}/{x}/{y}@2x" (supports also @3x)
To make such imagery to display correctly (on HDPI displays) one must set "Tiles zoom offset" to -1. Unfortunately this setting is global and affects all imageries. It makes aerial imageries blurry.
It would be great to support "Tiles zoom offset" per imagery. It could be encoded in TMS URL for example as {zoom++1} ({zoom+1} is already taken for different purpose).
Attachments (0)
Change History (3)
comment:1 by , 3 years ago
comment:3 by , 3 years ago
Keywords: | HiDPI added; HDPI removed |
---|
Actually it would be nice if JOSM would detect HDPI (retina) displays automatically and would support {r} and {@2x} TMS arguments. Editor iD supports it: https://github.com/openstreetmap/iD/issues/7712
Please see also https://github.com/osmlab/editor-layer-index/issues/982