summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/custom_layer_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gl/custom_layer_impl.cpp')
-rw-r--r--src/mbgl/gl/custom_layer_impl.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mbgl/gl/custom_layer_impl.cpp b/src/mbgl/gl/custom_layer_impl.cpp
new file mode 100644
index 0000000000..85df44bc80
--- /dev/null
+++ b/src/mbgl/gl/custom_layer_impl.cpp
@@ -0,0 +1,20 @@
+#include <mbgl/gl/custom_layer_impl.hpp>
+
+namespace mbgl {
+namespace style {
+
+CustomLayer::Impl::Impl(const std::string& id_,
+ std::unique_ptr<CustomLayerHost> host_)
+ : Layer::Impl(id_, std::string()) {
+ host = std::move(host_);
+}
+
+bool CustomLayer::Impl::hasLayoutDifference(const Layer::Impl&) const {
+ return false;
+}
+
+void CustomLayer::Impl::stringifyLayout(rapidjson::Writer<rapidjson::StringBuffer>&) const {
+}
+
+} // namespace style
+} // namespace mbgl