diff options
Diffstat (limited to 'include/llmr/style/style.hpp')
-rw-r--r-- | include/llmr/style/style.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llmr/style/style.hpp b/include/llmr/style/style.hpp index 04b7e22163..7a491d810d 100644 --- a/include/llmr/style/style.hpp +++ b/include/llmr/style/style.hpp @@ -22,7 +22,7 @@ public: Style(); void reset(); - void load(const uint8_t *const data, uint32_t bytes); + void load(const uint8_t *const data, size_t bytes); // This is commented out because it is not fully implemented yet. For now, // we keep using the protobuf stylesheet format @@ -36,6 +36,7 @@ private: static std::pair<std::string, ClassDescription> parseClass(pbf data); static std::pair<std::string, FillClass> parseFillClass(pbf data); static std::pair<std::string, LineClass> parseLineClass(pbf data); + static std::pair<std::string, PointClass> parsePointClass(pbf data); template <typename T> static FunctionProperty<T> parseProperty(pbf data); static Color parseColor(pbf& data); @@ -53,6 +54,7 @@ public: struct { std::map<std::string, FillProperties> fills; std::map<std::string, LineProperties> lines; + std::map<std::string, PointProperties> points; } computed; }; |