diff options
Diffstat (limited to 'include/mbgl/style/sources/geojson_source.hpp')
-rw-r--r-- | include/mbgl/style/sources/geojson_source.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mbgl/style/sources/geojson_source.hpp b/include/mbgl/style/sources/geojson_source.hpp index 37ddce1bcc..306a330252 100644 --- a/include/mbgl/style/sources/geojson_source.hpp +++ b/include/mbgl/style/sources/geojson_source.hpp @@ -50,5 +50,10 @@ public: Impl* const impl; }; +template <> +inline bool Source::is<GeoJSONSource>() const { + return type == SourceType::GeoJSON; +} + } // namespace style } // namespace mbgl |