summaryrefslogtreecommitdiff
path: root/include/mbgl/map
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-02-21 14:02:41 -0800
committerKonstantin Käfer <mail@kkaefer.com>2017-03-28 13:53:19 +0200
commit34aa7f880eaed24d3b78f0db220ff30d7de5ca72 (patch)
tree80460c96322c5f21681ebc80e8b71dc4d7a5c130 /include/mbgl/map
parent099a1cb9f10d5b615b115583be147656f2c2cd43 (diff)
downloadqtlocation-mapboxgl-34aa7f880eaed24d3b78f0db220ff30d7de5ca72.tar.gz
[core] Move map/change.hpp to public include directory
Diffstat (limited to 'include/mbgl/map')
-rw-r--r--include/mbgl/map/change.hpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/mbgl/map/change.hpp b/include/mbgl/map/change.hpp
new file mode 100644
index 0000000000..3925d655a4
--- /dev/null
+++ b/include/mbgl/map/change.hpp
@@ -0,0 +1,26 @@
+#pragma once
+
+#include <cstdint>
+
+namespace mbgl {
+
+enum MapChange : uint8_t {
+ MapChangeRegionWillChange = 0,
+ MapChangeRegionWillChangeAnimated = 1,
+ MapChangeRegionIsChanging = 2,
+ MapChangeRegionDidChange = 3,
+ MapChangeRegionDidChangeAnimated = 4,
+ MapChangeWillStartLoadingMap = 5,
+ MapChangeDidFinishLoadingMap = 6,
+ MapChangeDidFailLoadingMap = 7,
+ MapChangeWillStartRenderingFrame = 8,
+ MapChangeDidFinishRenderingFrame = 9,
+ MapChangeDidFinishRenderingFrameFullyRendered = 10,
+ MapChangeWillStartRenderingMap = 11,
+ MapChangeDidFinishRenderingMap = 12,
+ MapChangeDidFinishRenderingMapFullyRendered = 13,
+ MapChangeDidFinishLoadingStyle = 14,
+ MapChangeSourceDidChange = 15
+};
+
+} // namespace mbgl