blob: d17fd51614cb5b232f848174d955bd22e7860b97 (
plain)
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
|
#pragma once
#include "drape_frontend/map_shape.hpp"
#include "drape_frontend/shape_view_params.hpp"
#include "drape/constants.hpp"
namespace df
{
class PoiSymbolShape : public MapShape
{
public:
PoiSymbolShape(m2::PointF const & mercatorPt, PoiSymbolViewParams const & params,
int displacementMode = dp::displacement::kAllModes,
uint16_t specialModePriority = 0xFFFF);
void Draw(ref_ptr<dp::Batcher> batcher, ref_ptr<dp::TextureManager> textures) const override;
MapShapeType GetType() const override { return MapShapeType::OverlayType; }
private:
uint64_t GetOverlayPriority() const;
m2::PointF const m_pt;
PoiSymbolViewParams const m_params;
int const m_displacementMode;
uint16_t const m_specialModePriority;
};
} // namespace df
|