summaryrefslogtreecommitdiff
path: root/src/mbgl/map/view.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/map/view.cpp')
-rw-r--r--src/mbgl/map/view.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mbgl/map/view.cpp b/src/mbgl/map/view.cpp
new file mode 100644
index 0000000000..3927652ba6
--- /dev/null
+++ b/src/mbgl/map/view.cpp
@@ -0,0 +1,11 @@
+#include <mbgl/map/view.hpp>
+#include <mbgl/map/map.hpp>
+
+namespace mbgl {
+
+void View::resize(uint16_t width, uint16_t height, float ratio, uint16_t fbWidth, uint16_t fbHeight) {
+ assert(map);
+ map->resize(width, height, ratio, fbWidth, fbHeight);
+}
+
+}