summaryrefslogtreecommitdiff
path: root/include/mbgl/map/map_observer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/map/map_observer.hpp')
-rw-r--r--include/mbgl/map/map_observer.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/mbgl/map/map_observer.hpp b/include/mbgl/map/map_observer.hpp
index 7f5073ba27..4fefb79121 100644
--- a/include/mbgl/map/map_observer.hpp
+++ b/include/mbgl/map/map_observer.hpp
@@ -1,7 +1,10 @@
#pragma once
+#include <mbgl/style/source.hpp>
+
#include <cstdint>
#include <exception>
+#include <string>
namespace mbgl {
@@ -33,7 +36,7 @@ public:
virtual void onWillStartRenderingMap() {}
virtual void onDidFinishRenderingMap(RenderMode) {}
virtual void onDidFinishLoadingStyle() {}
- virtual void onSourceDidChange() {}
+ virtual void onSourceChanged(style::Source&) {}
};
} // namespace mbgl