File indexing completed on 2024-05-05 03:49:49

0001 #ifndef MARBLE_TILELAYER_H
0002 #define MARBLE_TILELAYER_H
0003 
0004 #include <LayerInterface.h>
0005 #include <QObject>
0006 #include "GeoSceneAbstractTileProjection.h"
0007 
0008 namespace Marble
0009 {
0010 
0011 class MARBLE_EXPORT TileLayer :  public QObject, public LayerInterface
0012 {
0013     Q_OBJECT
0014 public:
0015     TileLayer();
0016 
0017     QStringList renderPosition() const override;
0018 
0019     virtual QSize tileSize() const = 0;
0020     virtual const GeoSceneAbstractTileProjection *tileProjection() const = 0;
0021 
0022     virtual int tileColumnCount( int level ) const = 0;
0023     virtual int tileRowCount( int level ) const = 0;
0024 
0025     virtual int layerCount() const = 0;
0026 };
0027 
0028 }
0029 
0030 #endif // MARBLE_TILELAYER_H