FastTileDatabase
轻量级高性能瓦片地图数据库
Loading...
Searching...
No Matches
MeFTDTileKey.h
Go to the documentation of this file.
1#ifndef MEFTDTILEKEY_H__
2#define MEFTDTILEKEY_H__
3#include "MeFTDPoint2D.h"
4#include <vector>
5
6namespace MapEdges
7{
12 typedef int MeFTDZoom;
13
18 typedef std::vector<MeFTDZoom> MeFTDZooms;
19
25 {
26 public:
27 MeFTDTileKey() = default;
28
29 MeFTDTileKey(int nX, int nY, MeFTDZoom nZoom);
30
31 ~MeFTDTileKey() = default;
32
34
35 bool operator==(const MeFTDTileKey& other) const;
36
37 bool isValid() const;
38
39 void setZoom(MeFTDZoom nZoom);
40
41 MeFTDZoom zoom() const;
42
43 private:
44 int mZoom = -1;
45 };
46}
47
48#endif
#define FTD_EXPORT
Definition: MeFTDGlobal.h:15
定义二维坐标点
Definition: MeFTDPoint2D.h:13
瓦片坐标。
Definition: MeFTDTileKey.h:25
MeFTDZoom zoom() const
MeFTDTileKey(int nX, int nY, MeFTDZoom nZoom)
bool operator==(const MeFTDTileKey &other) const
MeFTDTileKey operator=(const MeFTDTileKey &other)
void setZoom(MeFTDZoom nZoom)
Fast Tile Database 简称(FTD)是一个轻量级的瓦片数据本地持久化存储数据库,它的出现主要
Definition: MeFTD.h:32
int MeFTDZoom
金字塔级别。
Definition: MeFTDTileKey.h:12
std::vector< MeFTDZoom > MeFTDZooms
金字塔级别集合。
Definition: MeFTDTileKey.h:18