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