Commit 31cc33fa authored by Dennis Nienhüser's avatar Dennis Nienhüser
Browse files

Initial zoom level needs no cache clear

parent 0d3aedbb
......@@ -111,8 +111,8 @@ void VectorTileModel::setViewport( const GeoDataLatLonBox &latLonBox, int radius
// if zoom level has changed, empty vectortile cache
if ( tileZoomLevel != m_tileLoadLevel ) {
m_deleteDocumentsLater = m_tileLoadLevel >= 0;
m_tileLoadLevel = tileZoomLevel;
m_deleteDocumentsLater = true;
}
/** LOGIC FOR DOWNLOADING ALL THE TILES THAT ARE INSIDE THE SCREEN AT THE CURRENT ZOOM LEVEL **/
......
Supports Markdown
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