summaryrefslogtreecommitdiff
path: root/src/location/doc/src/plugins/osm.qdoc
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2017-03-21 17:35:05 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-03-27 11:22:32 +0000
commit74b456578063f184838774c54c89a96d7ab90a5b (patch)
tree9a57a65f51d1a2f71f4f31bd8c895223408c74e0 /src/location/doc/src/plugins/osm.qdoc
parent2e79bbca6465d404a821510c7a6b897fd284ca99 (diff)
downloadqtlocation-74b456578063f184838774c54c89a96d7ab90a5b.tar.gz
Add parameter to control prefetching in tile-based geoservice plugins
Change-Id: I18fc1788f7af0efe76f97257ffe739eb1a96e6cc 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 01efa021..236b0255 100644
--- a/src/location/doc/src/plugins/osm.qdoc
+++ b/src/location/doc/src/plugins/osm.qdoc
@@ -101,6 +101,13 @@ a prefix.
\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.mapping.prefetching_style
+ \li This parameter allows to control how tile prefetching is performed by the engine. The default value,
+ \tt{TwoNeighbourLayers}, makes the engine prefetch tiles for the layer above and the one below the current tile
+ layer, providing ready tiles when zooming in or out from the current zoom level.
+ \tt{OneNeighbourLayer} only prefetches the one layer closest to the current zoom level.
+ Finally, \tt{NoPrefetching} allows to disable the prefetching, so only tiles that are visible will be fetched.
+\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/route/v1/driving/}{url} will be used.