Both Android and iOS now use pause/resume. The map thread is always running, and be able to receive messages. When paused, it will just refuse to render.
15 lines
208 B
C++
15 lines
208 B
C++
#ifndef MBGL_MAP_MODE
|
|
#define MBGL_MAP_MODE
|
|
|
|
#include <cstdint>
|
|
|
|
namespace mbgl {
|
|
|
|
enum class MapMode : uint8_t {
|
|
Continuous, // continually updating map
|
|
Still, // a once-off still image
|
|
};
|
|
|
|
}
|
|
|
|
#endif |