dmptilelayer.h
1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/**************************************************************************
* file: dmptilelayer.h
* Author: wanzhongping
* Date: 2021-11-13 16:48:42
* Email: zhongpingw@chinadci.com
* copyright: 广州城市信息研究所有限公司
***************************************************************************/
#ifndef __dmptilelayer_h__
#define __dmptilelayer_h__
#include "dmap_core.h"
#include "dmpmaplayer.h"
#include "dmptilematrixset.h"
class CORE_EXPORT DmpTileLayer : public DmpMapLayer
{
public:
explicit DmpTileLayer(const std::string &path = "", const std::string &baseName = "");
~DmpTileLayer();
bool readXml(const boost::property_tree::ptree &layerNode);
bool writeXml(boost::property_tree::ptree &layerNode);
std::string getVendor();
std::string getDataSource();
void getTileMatrixSets(std::vector<DmpTileMatrixSet*>& tileMatrixSets);
std::string getFormat();
std::string getStyle();
private:
std::string style_;
std::string format_;
std::string vendor_;
std::string datasource_;
std::vector<DmpTileMatrixSet*> tileMatrixSets_;
};
#endif // __dmptilelayer_h__