From acae19386129056b9425b114b01f062feecd297e Mon Sep 17 00:00:00 2001 From: Asheem Mamoowala Date: Wed, 22 Nov 2017 10:18:53 -0800 Subject: [core] Custom Geometry Sources --- .../style/sources/custom_geometry_source_impl.hpp | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/mbgl/style/sources/custom_geometry_source_impl.hpp (limited to 'src/mbgl/style/sources/custom_geometry_source_impl.hpp') diff --git a/src/mbgl/style/sources/custom_geometry_source_impl.hpp b/src/mbgl/style/sources/custom_geometry_source_impl.hpp new file mode 100644 index 0000000000..ce7187202d --- /dev/null +++ b/src/mbgl/style/sources/custom_geometry_source_impl.hpp @@ -0,0 +1,29 @@ +#pragma once + +#include +#include +#include +#include + +namespace mbgl { +namespace style { + +class CustomGeometrySource::Impl : public Source::Impl { +public: + Impl(std::string id, CustomGeometrySource::Options options); + Impl(const Impl&, ActorRef); + + optional getAttribution() const final; + + CustomGeometrySource::TileOptions getTileOptions() const; + Range getZoomRange() const; + optional> getTileLoader() const; + +private: + CustomGeometrySource::TileOptions tileOptions; + Range zoomRange; + optional> loaderRef; +}; + +} // namespace style +} // namespace mbgl -- cgit v1.2.1