summaryrefslogtreecommitdiff
path: root/src/location/doc
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
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')
-rw-r--r--src/location/doc/src/plugins/esri.qdoc7
-rw-r--r--src/location/doc/src/plugins/mapbox.qdoc7
-rw-r--r--src/location/doc/src/plugins/nokia.qdoc7
-rw-r--r--src/location/doc/src/plugins/osm.qdoc7
4 files changed, 28 insertions, 0 deletions
diff --git a/src/location/doc/src/plugins/esri.qdoc b/src/location/doc/src/plugins/esri.qdoc
index c19f19dd..9dce349c 100644
--- a/src/location/doc/src/plugins/esri.qdoc
+++ b/src/location/doc/src/plugins/esri.qdoc
@@ -150,6 +150,13 @@ or you can sign up for an \l {http://www.arcgis.com/features/plans/pricing.html}
Note that the texture cache has a hard minimum size which depends on the size of the map viewport
(it must contain enough data to display the tiles currently visible on the display).
This value is the amount of cache to be used in addition to the bare minimum.
+\row
+ \li esri.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.
\endtable
\section2 Directions language
diff --git a/src/location/doc/src/plugins/mapbox.qdoc b/src/location/doc/src/plugins/mapbox.qdoc
index 12c29aee..cf564415 100644
--- a/src/location/doc/src/plugins/mapbox.qdoc
+++ b/src/location/doc/src/plugins/mapbox.qdoc
@@ -138,5 +138,12 @@ The following table lists optional parameters that can be passed to the Mapbox p
viewport (it must contain enough data to display the tiles currently visible on the
display).
This value is the amount of tiles to be cached in addition to the bare minimum.
+\row
+ \li mapbox.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.
\endtable
*/
diff --git a/src/location/doc/src/plugins/nokia.qdoc b/src/location/doc/src/plugins/nokia.qdoc
index 4e46a18d..fdd5ce6d 100644
--- a/src/location/doc/src/plugins/nokia.qdoc
+++ b/src/location/doc/src/plugins/nokia.qdoc
@@ -136,6 +136,13 @@ a prefix.
(it must contain enough data to display the tiles currently visible on the display).
This value is the amount of cache to be used in addition to the bare minimum.
\row
+ \li here.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 here.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.
\row
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.