Commit ae232925 authored by Paolo Angelelli's avatar Paolo Angelelli
Browse files

Bound check QGeoTileSpec against min/max ZL before requesting it


Until now we have not honored the min/max zoom levels specified
in QGeoCameraCapabilities when requesting tiles.
As a result we have often fired requests for non-existing tile layers.

This change complements the added support for individual camera caps
for each map type, and makes the tile fetcher honor the bounds
defined in the camera capabilities.

This also allows to set larger zoom levels in the renderer, overzooming
existing tiles, without the fetcher firing requests for invalid
resources

Change-Id: Ic8a523a114147109f7ef8af3510a3ab78d06d714
Reviewed-by: default avatarQt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: default avatarAlex Blasche <alexander.blasche@qt.io>
parent b82f9dd7
No related merge requests found
Showing with 25 additions and 13 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment