Welcome to mirror list, hosted at ThFree Co, Russian Federation.

tile_key.hpp « drape_frontend - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2fd4331c273b573b1c60041823f9bca64cba9bc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include "../geometry/rect2d.hpp"

namespace df
{

struct TileKey
{
  TileKey();
  TileKey(int x, int y, int zoomLevel);

  bool operator < (TileKey const & other) const;
  bool operator == (TileKey const & other) const;

  m2::RectD GetGlobalRect() const;

  int m_x;
  int m_y;
  int m_zoomLevel;
};

} // namespace df