LazMapViewer: Changed cache folder structure to provider/zoom/x/y. Issue #39087

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9705 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz 2025-03-25 12:49:02 +00:00
parent 934c2bd1a0
commit 5932f46825

View File

@ -328,7 +328,7 @@ begin
if FLAT_CACHE then if FLAT_CACHE then
{%H-}Result := Format('%s_%d_%d_%d', [prov, TileId.X, TileId.Y, TileId.Z]) {%H-}Result := Format('%s_%d_%d_%d', [prov, TileId.X, TileId.Y, TileId.Z])
else else
Result := SetDirSeparators(Format('%s/%d/%d_%d', [prov, TileID.Z, TileID.X, TileID.Y])); Result := SetDirSeparators(Format('%s/%d/%d/%d', [prov, TileID.Z, TileID.X, TileID.Y]));
end; end;
{ AddItem allows the insertion of an existing TPictureCacheItem. { AddItem allows the insertion of an existing TPictureCacheItem.