Open map street5/21/2023 ![]() Finally, NoPrefetching allows to disable the prefetching, so only tiles that are visible will be fetched. OneNeighbourLayer only prefetches the one layer closest to the current zoom level. The default value, 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. This parameter allows to provide a hint how tile prefetching is to be performed by the engine. 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. The format of the tiles is the same used by the network disk cache. If specified, it will work together with the network disk cache, but tiles won't get automatically inserted, removed or updated. These are fetched from the same location used for the low dpi counterparts.Ībsolute path to a directory containing map tiles used as an offline storage. Provider information files for high dpi tiles are named street-hires, satellite-hires, cycle-hires, transit-hires, night-transit-hires, terrain-hires and hiking-hires. Setting this parameter to true might even have no effect if no map type is available in high dpi at the moment. Please note that not all map types are available in high dpi. Whether or not to request high dpi tiles. ![]() If empty no map copyright will be displayed for the custom map. This copyright will only be used when using the CustomMap from above. Note: Setting the parameter to a new server renders the map tile cache useless for the old custommap style.Ĭustom map copryright string is used when setting the Map::activeMapType to MapType.CustomMap via urlprefix parameter. This map type is only be available if this plugin parameter is set, in which case it is always Map::supportedMapTypes. To use this server, the Map::activeMapType parameter of the Map should be set to the supported map type whose type is MapType.CustomMap. This parameter should be set to a valid server url offering the correct osm API. If empty no data copyright will be displayed for the custom map. This value is the amount of cache to be used in addition to the bare minimum.Ĭustom data copryright string is used when setting the Map::activeMapType to MapType.CustomMap via urlprefix parameter. 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). The default size of the cache is 6 MiB when bytesize is the cost strategy for this cache, or 30 tiles, when unitary is the cost strategy. The default value for this parameter is bytesize. Using unitary, they will be interpreted as number of tiles. Using bytesize, the related size parameter ( .size) will be interpreted as bytes. The cost strategy to use to cache decompressed map tiles in memory. The default size of the cache is 3 MiB when bytesize is the cost strategy for this cache, or 100 tiles, when unitary is the cost strategy. The cost strategy to use to cache map tiles in memory. The default size of the cache is 50 MiB when bytesize is the cost strategy for this cache, or 1000 tiles, when unitary is the cost strategy. The default value for this parameter is bytesize.ĭisk cache size for map tiles. The cost strategy to use to cache map tiles on disk. On systems that have no concept of a shared cache, the application-specific QStandardPaths::CacheLocation is used instead. ![]() The default place for the cache is the QtLocation/osm subdirectory in the location returned by QStandardPaths::writableLocation(), called with QStandardPaths::GenericCacheLocation as a parameter. Instructs the plugin to include Nominatim-specific information (such as geometry and class) into the returned Location objects, exposed as extendedAttributes.Ībsolute path to map tile cache directory used as network disk cache. Instructs the plugin to inject the query url to nominatim into the geocode reply, for debugging purposes. Note: The API documentation is available at Project OSM Nominatim.
0 Comments
Leave a Reply. |