marble
#include <GeoSceneTiled.h>
Public Types | |
enum | Projection { Equirectangular, Mercator } |
enum | StorageLayout { Marble, OpenStreetMap, TileMapService } |
Public Member Functions | |
GeoSceneTiled (const QString &name) | |
~GeoSceneTiled () | |
void | addDownloadPolicy (const DownloadUsage usage, const int maximumConnections) |
void | addDownloadUrl (const QUrl &) |
QString | blending () const |
QList< const DownloadPolicy * > | downloadPolicies () const |
QUrl | downloadUrl (const TileId &) const |
QVector< QUrl > | downloadUrls () const |
bool | hasMaximumTileLevel () const |
QString | installMap () const |
int | levelZeroColumns () const |
int | levelZeroRows () const |
int | maximumTileLevel () const |
virtual const char * | nodeType () const |
Projection | projection () const |
QString | relativeTileFileName (const TileId &) const |
const ServerLayout * | serverLayout () const |
void | setBlending (const QString &name) |
void | setInstallMap (const QString &installMap) |
void | setLevelZeroColumns (const int) |
void | setLevelZeroRows (const int) |
void | setMaximumTileLevel (const int) |
void | setProjection (const Projection) |
void | setServerLayout (const ServerLayout *) |
void | setSourceDir (const QString &sourceDir) |
void | setStorageLayout (const StorageLayout) |
void | setTileSize (const QSize &tileSize) |
QString | sourceDir () const |
StorageLayout | storageLayout () const |
QString | themeStr () const |
const QSize | tileSize () const |
Public Member Functions inherited from Marble::GeoSceneAbstractDataset | |
virtual | ~GeoSceneAbstractDataset () |
int | expire () const |
QString | fileFormat () const |
QString | name () const |
void | setExpire (int expire) |
void | setFileFormat (const QString &fileFormat) |
Public Member Functions inherited from Marble::GeoNode | |
GeoNode () | |
virtual | ~GeoNode () |
Additional Inherited Members | |
Protected Member Functions inherited from Marble::GeoSceneAbstractDataset | |
GeoSceneAbstractDataset (const QString &name) | |
Detailed Description
Definition at line 43 of file GeoSceneTiled.h.
Member Enumeration Documentation
Enumerator | |
---|---|
Equirectangular | |
Mercator |
Definition at line 47 of file GeoSceneTiled.h.
Enumerator | |
---|---|
Marble | |
OpenStreetMap | |
TileMapService |
Definition at line 46 of file GeoSceneTiled.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 29 of file GeoSceneTiled.cpp.
Marble::GeoSceneTiled::~GeoSceneTiled | ( | ) |
Definition at line 45 of file GeoSceneTiled.cpp.
Member Function Documentation
void Marble::GeoSceneTiled::addDownloadPolicy | ( | const DownloadUsage | usage, |
const int | maximumConnections | ||
) |
Definition at line 253 of file GeoSceneTiled.cpp.
void Marble::GeoSceneTiled::addDownloadUrl | ( | const QUrl & | url | ) |
Definition at line 197 of file GeoSceneTiled.cpp.
|
inline |
Definition at line 130 of file GeoSceneTiled.h.
QList< const DownloadPolicy * > Marble::GeoSceneTiled::downloadPolicies | ( | ) | const |
Definition at line 248 of file GeoSceneTiled.cpp.
QUrl Marble::GeoSceneTiled::downloadUrl | ( | const TileId & | id | ) | const |
Creates a download URL for the given tile id.
It implements the round robin for the tile servers. On each invocation the next url is returned.
Definition at line 181 of file GeoSceneTiled.cpp.
QVector< QUrl > Marble::GeoSceneTiled::downloadUrls | ( | ) | const |
Definition at line 127 of file GeoSceneTiled.cpp.
|
inline |
Definition at line 125 of file GeoSceneTiled.h.
QString Marble::GeoSceneTiled::installMap | ( | ) | const |
Definition at line 66 of file GeoSceneTiled.cpp.
int Marble::GeoSceneTiled::levelZeroColumns | ( | ) | const |
Definition at line 97 of file GeoSceneTiled.cpp.
int Marble::GeoSceneTiled::levelZeroRows | ( | ) | const |
Definition at line 107 of file GeoSceneTiled.cpp.
int Marble::GeoSceneTiled::maximumTileLevel | ( | ) | const |
Definition at line 117 of file GeoSceneTiled.cpp.
|
virtual |
Reimplemented from Marble::GeoNode.
Reimplemented in Marble::GeoSceneTextureTile, and Marble::GeoSceneVectorTile.
Definition at line 51 of file GeoSceneTiled.cpp.
GeoSceneTiled::Projection Marble::GeoSceneTiled::projection | ( | ) | const |
Definition at line 169 of file GeoSceneTiled.cpp.
QString Marble::GeoSceneTiled::relativeTileFileName | ( | const TileId & | id | ) | const |
Definition at line 204 of file GeoSceneTiled.cpp.
const ServerLayout * Marble::GeoSceneTiled::serverLayout | ( | ) | const |
Definition at line 92 of file GeoSceneTiled.cpp.
|
inline |
Definition at line 135 of file GeoSceneTiled.h.
void Marble::GeoSceneTiled::setInstallMap | ( | const QString & | installMap | ) |
Definition at line 71 of file GeoSceneTiled.cpp.
void Marble::GeoSceneTiled::setLevelZeroColumns | ( | const int | columns | ) |
Definition at line 102 of file GeoSceneTiled.cpp.
void Marble::GeoSceneTiled::setLevelZeroRows | ( | const int | rows | ) |
Definition at line 112 of file GeoSceneTiled.cpp.
void Marble::GeoSceneTiled::setMaximumTileLevel | ( | const int | maximumTileLevel | ) |
Definition at line 122 of file GeoSceneTiled.cpp.
void Marble::GeoSceneTiled::setProjection | ( | const Projection | projection | ) |
Definition at line 174 of file GeoSceneTiled.cpp.
void Marble::GeoSceneTiled::setServerLayout | ( | const ServerLayout * | layout | ) |
Definition at line 86 of file GeoSceneTiled.cpp.
void Marble::GeoSceneTiled::setSourceDir | ( | const QString & | sourceDir | ) |
Definition at line 61 of file GeoSceneTiled.cpp.
void Marble::GeoSceneTiled::setStorageLayout | ( | const StorageLayout | layout | ) |
Definition at line 81 of file GeoSceneTiled.cpp.
void Marble::GeoSceneTiled::setTileSize | ( | const QSize & | tileSize | ) |
Definition at line 160 of file GeoSceneTiled.cpp.
QString Marble::GeoSceneTiled::sourceDir | ( | ) | const |
Definition at line 56 of file GeoSceneTiled.cpp.
GeoSceneTiled::StorageLayout Marble::GeoSceneTiled::storageLayout | ( | ) | const |
Definition at line 76 of file GeoSceneTiled.cpp.
QString Marble::GeoSceneTiled::themeStr | ( | ) | const |
Definition at line 242 of file GeoSceneTiled.cpp.
const QSize Marble::GeoSceneTiled::tileSize | ( | ) | const |
Definition at line 132 of file GeoSceneTiled.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.