9#ifndef MARBLE_GEOSCENETILEDATASET_H
10#define MARBLE_GEOSCENETILEDATASET_H
17#include "GeoDataLatLonBox.h"
18#include "GeoSceneAbstractDataset.h"
19#include "GeoSceneAbstractTileProjection.h"
20#include "MarbleGlobal.h"
37class GEODATA_EXPORT GeoSceneTileDataset :
public GeoSceneAbstractDataset
46 explicit GeoSceneTileDataset(
const QString &name);
47 ~GeoSceneTileDataset()
override;
48 const char *nodeType()
const override;
51 void setSourceDir(
const QString &sourceDir);
54 void setInstallMap(
const QString &installMap);
56 StorageLayout storageLayout()
const;
57 void setStorageLayout(
const StorageLayout);
59 void setServerLayout(
const ServerLayout *);
60 const ServerLayout *serverLayout()
const;
62 int levelZeroColumns()
const;
63 void setLevelZeroColumns(
const int);
65 int levelZeroRows()
const;
66 void setLevelZeroRows(
const int);
68 bool hasMaximumTileLevel()
const;
69 int maximumTileLevel()
const;
70 void setMaximumTileLevel(
const int);
72 int minimumTileLevel()
const;
73 void setMinimumTileLevel(
int level);
75 void setTileLevels(
const QString &tileLevels);
80 const QSize tileSize()
const;
81 void setTileSize(
const QSize &tileSize);
87 void setLatLonBox(
const GeoDataLatLonBox &box);
88 GeoDataLatLonBox latLonBox()
const;
90 void setTileProjection(GeoSceneAbstractTileProjection::Type projectionType);
92 const GeoSceneAbstractTileProjection *tileProjection()
const;
93 GeoSceneAbstractTileProjection::Type tileProjectionType()
const;
96 void setBlending(
const QString &name);
104 QUrl downloadUrl(
const TileId &)
const;
105 void addDownloadUrl(
const QUrl &);
107 QString relativeTileFileName(
const TileId &)
const;
112 void addDownloadPolicy(
const DownloadUsage usage,
const int maximumConnections);
115 Q_DISABLE_COPY(GeoSceneTileDataset)
120 StorageLayout m_storageLayoutMode;
121 const ServerLayout *m_serverLayout;
122 int m_levelZeroColumns;
124 int m_minimumTileLevel;
125 int m_maximumTileLevel;
127 mutable QSize m_tileSize;
128 GeoDataLatLonBox m_latLonBox;
129 GeoSceneAbstractTileProjection *m_tileProjection;
140inline bool GeoSceneTileDataset::hasMaximumTileLevel()
const
142 return m_maximumTileLevel != -1;
145inline QString GeoSceneTileDataset::blending()
const
150inline void GeoSceneTileDataset::setBlending(
const QString &name)
QString name(StandardAction id)
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:52:13 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.