Add placefile parsing for Line

This commit is contained in:
Dan Paulat 2023-08-06 23:52:26 -05:00
parent f0c2f8eec0
commit 1929ee9eef
2 changed files with 85 additions and 1 deletions

View file

@ -100,6 +100,26 @@ public:
std::string hoverText_ {};
};
struct LineDrawItem : DrawItem
{
LineDrawItem() { itemType_ = ItemType::Line; }
boost::gil::rgba8_pixel_t color_ {};
double width_ {};
std::int32_t flags_ {};
std::string hoverText_ {};
struct Element
{
double latitude_ {};
double longitude_ {};
double x_ {};
double y_ {};
};
std::vector<Element> elements_ {};
};
bool IsValid() const;
/**