diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-05-12 19:08:59 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-05-12 19:08:59 +0200 |
commit | 2b1457998638e97660b5b19ba1e05341523030dd (patch) | |
tree | 6e976d4db16709e1f91e8b29d6e2301e75decb3a /include/llmr/renderer/line_bucket.hpp | |
parent | 2a3377cc4d6cb910dd2f4e637060d7155cbfbf3e (diff) | |
download | qtlocation-mapboxgl-2b1457998638e97660b5b19ba1e05341523030dd.tar.gz |
only paint layer if it has data
refs #184
Diffstat (limited to 'include/llmr/renderer/line_bucket.hpp')
-rw-r--r-- | include/llmr/renderer/line_bucket.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llmr/renderer/line_bucket.hpp b/include/llmr/renderer/line_bucket.hpp index eb55bba5a8..e28c85b7af 100644 --- a/include/llmr/renderer/line_bucket.hpp +++ b/include/llmr/renderer/line_bucket.hpp @@ -28,11 +28,11 @@ public: const BucketDescription& bucket_desc); virtual void render(Painter& painter, const std::string& layer_name, const Tile::ID& id); + virtual bool hasData() const; void addGeometry(pbf& data); void addGeometry(const std::vector<Coordinate>& line); - bool empty() const; bool hasPoints() const; void drawLines(LineShader& shader); |