diff options
Diffstat (limited to 'src/mbgl/style/sources/custom_vector_source_impl.hpp')
-rw-r--r-- | src/mbgl/style/sources/custom_vector_source_impl.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mbgl/style/sources/custom_vector_source_impl.hpp b/src/mbgl/style/sources/custom_vector_source_impl.hpp index af103f4c7e..90c7b4a76e 100644 --- a/src/mbgl/style/sources/custom_vector_source_impl.hpp +++ b/src/mbgl/style/sources/custom_vector_source_impl.hpp @@ -2,7 +2,6 @@ #include <mbgl/style/source_impl.hpp> #include <mbgl/style/sources/custom_vector_source.hpp> -#include <mbgl/tile/tile_id.hpp> #include <mbgl/actor/actor_ref.hpp> namespace mbgl { @@ -10,16 +9,18 @@ namespace style { class CustomVectorSource::Impl : public Source::Impl { public: - Impl(std::string id, GeoJSONOptions options); + Impl(std::string id, CustomVectorSource::Options options); Impl(const Impl&, ActorRef<CustomTileLoader>); optional<std::string> getAttribution() const final; - GeoJSONOptions getOptions() const; + CustomVectorSource::TileOptions getTileOptions() const; + Range<uint8_t> getZoomRange() const; optional<ActorRef<CustomTileLoader>> getTileLoader() const; private: - GeoJSONOptions options; + CustomVectorSource::TileOptions tileOptions; + Range<uint8_t> zoomRange; optional<ActorRef<CustomTileLoader>> loaderRef; }; |