summaryrefslogtreecommitdiff
path: root/include/mbgl/annotation/point_annotation.hpp
blob: c9236c3c0498f25b0a07a76afed317575f1ef4e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <mbgl/util/geo.hpp>

#include <string>

namespace mbgl {

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

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

} // namespace mbgl