diff options
author | Ivo van Dongen <info@ivovandongen.nl> | 2017-03-06 17:19:38 -0800 |
---|---|---|
committer | Ivo van Dongen <ivovandongen@users.noreply.github.com> | 2017-03-06 18:04:22 -0800 |
commit | 0da6d8a646746831819525fd37cff3ed0af9589b (patch) | |
tree | 6b2699f7dd1c1871d36be26e253f44e85e97851b /src/mbgl/style/source_impl.hpp | |
parent | 84f69bfcc0e276a2dc3fd515a2425069dd47f442 (diff) | |
download | qtlocation-mapboxgl-0da6d8a646746831819525fd37cff3ed0af9589b.tar.gz |
[core] clear source when removed from style
Diffstat (limited to 'src/mbgl/style/source_impl.hpp')
-rw-r--r-- | src/mbgl/style/source_impl.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mbgl/style/source_impl.hpp b/src/mbgl/style/source_impl.hpp index ea2135c3c1..54af93c04f 100644 --- a/src/mbgl/style/source_impl.hpp +++ b/src/mbgl/style/source_impl.hpp @@ -87,6 +87,9 @@ public: // be initialized to true so that Style::isLoaded() does not produce false positives if // called before Style::recalculate(). bool enabled = true; + + // Detaches from the style + void detach(); protected: void invalidateTiles(); |