summaryrefslogtreecommitdiff
path: root/src/location/doc/src/plugins/osm.qdoc
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2016-11-23 14:08:21 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2016-11-24 10:21:04 +0000
commita98315f652518cb6f2d0a2845dc1d1581c3dbbc0 (patch)
tree8ddd4ed956aa0e0463fedd864d317f8889fdad29 /src/location/doc/src/plugins/osm.qdoc
parenta7bc67e54c5dfc06893fdf87bf4565b8d4429f72 (diff)
downloadqtlocation-a98315f652518cb6f2d0a2845dc1d1581c3dbbc0.tar.gz
Add cache cost strategy parameters to all geoservice plugins
This patch adds the possibility to change the cost strategy on all the geoservice plugins Change-Id: I0903d931ea228cc468216780fb87b466bc383063 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.qdoc36
1 files changed, 33 insertions, 3 deletions
diff --git a/src/location/doc/src/plugins/osm.qdoc b/src/location/doc/src/plugins/osm.qdoc
index c0ae48a7..bb520601 100644
--- a/src/location/doc/src/plugins/osm.qdoc
+++ b/src/location/doc/src/plugins/osm.qdoc
@@ -135,14 +135,44 @@ a prefix.
There is no default value, and if this property is not set, no directory will be indexed and only the network disk cache will be used
to reduce network usage or to act as an offline storage for the currently cached tiles.
\row
+ \li osm.mapping.cache.disk.cost_strategy
+ \li The cost strategy to use to cache map tiles on disk.
+ Valid values are \b bytesize and \b unitary.
+ Using \b bytesize, the related size parameter (\b osm.mapping.cache.disk.size) will
+ be interpreted as bytes.
+ Using \b unitary, they will be interpreted as number of tiles.
+ The default value for this parameter is \b bytesize.
+\row
\li osm.mapping.cache.disk.size
- \li Map tile disk cache size in bytes. Default size of the cache is 100MB.
+ \li Disk cache size for map tiles. The default size of the cache is 50 MiB when \b bytesize is the cost
+ strategy for this cache, or 1000 tiles, when \b unitary is the cost strategy.
+\row
+ \li osm.mapping.cache.memory.cost_strategy
+ \li The cost strategy to use to cache map tiles in memory.
+ Valid values are \b bytesize and \b unitary.
+ Using \b bytesize, the related size parameter (\b osm.mapping.cache.memory.size) will
+ be interpreted as bytes.
+ Using \b unitary, they will be interpreted as number of tiles.
+ The default value for this parameter is \b bytesize.
\row
\li osm.mapping.cache.memory.size
- \li Map tile memory cache size in bytes. Default size of the cache is 3MB.
+ \li Memory cache size for map tiles. The default size of the cache is 3 MiB when \b bytesize is the cost
+ strategy for this cache, or 100 tiles, when \b unitary is the cost strategy.
+\row
+ \li osm.mapping.cache.texture.cost_strategy
+ \li The cost strategy to use to cache decompressed map tiles in memory.
+ Valid values are \b bytesize and \b unitary.
+ Using \b bytesize, the related size parameter (\b osm.mapping.cache.texture.size) will
+ be interpreted as bytes.
+ Using \b unitary, they will be interpreted as number of tiles.
+ The default value for this parameter is \b bytesize.
\row
\li osm.mapping.cache.texture.size
- \li Map tile texture cache size in bytes. Default size of the cache is 6MB. 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.
+ \li Texture cache size for map tiles. The default size of the cache is 6 MiB when \b bytesize is the cost
+ strategy for this cache, or 30 tiles, when \b unitary is the cost strategy.
+ 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.
\endtable