Files
MapLibreParticleLab/include/mbgl/map/update.hpp
Konstantin Käfer 46bf226910 align static render mode and still image render mode
- static rendering now also runs in a separate thread; you have to start it with map.start(Map::Mode::Static) and join the thread with map.stop() before destructing the Map object
- map.renderStill() takes a callback with will be invoked on the *map* thread, so you'll have to figure out your own method of dispatching back to the main thread.
2015-04-17 13:40:42 +02:00

23 lines
439 B
C++

#ifndef MBGL_MAP_UPDATE
#define MBGL_MAP_UPDATE
#include <cstdint>
namespace mbgl {
using UpdateType = uint32_t;
enum class Update : UpdateType {
Nothing = 0,
StyleInfo = 1 << 0,
Debug = 1 << 1,
DefaultTransitionDuration = 1 << 2,
Classes = 1 << 3,
Zoom = 1 << 4,
RenderStill = 1 << 5,
};
}
#endif