summaryrefslogtreecommitdiff
path: root/include/mbgl/annotation/point_annotation.hpp
blob: e226673997fb2648b4ca43aa32bef998746c5e70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef MBGL_ANNOTATION_POINT_ANNOTATION
#define MBGL_ANNOTATION_POINT_ANNOTATION

#include <mbgl/util/geo.hpp>

#include <string>

namespace mbgl {

class PointAnnotation {
public:
    inline PointAnnotation(const LatLng& position_, const std::string& icon_ = "")
        : position(position_), icon(icon_) {
    }

    const LatLng position;
    const std::string icon;
};

} // namespace mbgl

#endif