summaryrefslogtreecommitdiff
path: root/src/location/doc/src/plugins/osm.qdoc
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@theqtcompany.com>2016-08-15 12:12:25 +0200
committerPaolo Angelelli <paolo.angelelli@theqtcompany.com>2016-08-30 11:01:14 +0000
commit52c8bfa6be4fc6c47f99c9f37c142554932c7228 (patch)
treed70ffc9c7bc690c980a05e1c1d950d06b1db6919 /src/location/doc/src/plugins/osm.qdoc
parent832030f271105a96bdde70b0526df659f21de565 (diff)
downloadqtlocation-52c8bfa6be4fc6c47f99c9f37c142554932c7228.tar.gz
Add OSM plugin parameter osm.mapping.highdpi_tiles
This patch adds a mean to enable/disable high dpi support for the OSM plugin too, following the same approach taken for the mapbox and here plugins. In order to do so, it has been necessary to rework QGeoTileProviderOsm. It can now be constructed with an arbitrary number of TileProviders, as opposed to the previous approach with one primary and one fallback tileprovider. It has also been necessary to disable Nearest interpolation for high dpi tiles, as it appears to produce considerable artifacts. So in presence of highdpi tiles, Linear interpolation is now always used. Change-Id: Id7d20fd5a320f3d5ef41b9fa28447a5c4f5398be Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/location/doc/src/plugins/osm.qdoc')
-rw-r--r--src/location/doc/src/plugins/osm.qdoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/location/doc/src/plugins/osm.qdoc b/src/location/doc/src/plugins/osm.qdoc
index fa75a197..1459909d 100644
--- a/src/location/doc/src/plugins/osm.qdoc
+++ b/src/location/doc/src/plugins/osm.qdoc
@@ -90,6 +90,13 @@ a prefix.
The plugin, however, still contains fallback hardcoded provider data, in case the provider repository becomes unreachable.
Setting this parameter to \b true makes the plugin use the hardcoded urls only and therefore prevents the plugin from fetching provider data from the remote repository.
\row
+ \li osm.mapping.highdpi_tiles
+ \li Whether or not to request high dpi tiles. Valid values are \b true and \b false. The default value is \b false.
+ Please note that not all map types are available in high dpi. Setting this parameter to true might even have no effect if
+ no map type is available in high dpi at the moment. Provider information files for high dpi tiles are named
+ \tt{street-hires}, \tt{satellite-hires}, \tt{cycle-hires}, \tt{transit-hires}, \tt{night-transit-hires}, \tt{terrain-hires} and \tt{hiking-hires}.
+ These are fetched from the same location used for the low dpi counterparts.
+\row
\li osm.routing.host
\li Url string set when making network requests to the routing server. This parameter should be set to a
valid server url with the correct osrm API. If not specified the default \l {http://router.project-osrm.org/viaroute}{url} will be used.