Remove Map::start/stop
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.
This commit is contained in:
@@ -45,7 +45,6 @@ MapContext::MapContext(uv_loop_t* loop, Environment& env_, View& view_, MapData&
|
||||
painter(util::make_unique<Painter>(*spriteAtlas, *glyphAtlas, *lineAtlas))
|
||||
{
|
||||
assert(Environment::currentlyOn(ThreadType::Map));
|
||||
assert(data.mode != MapMode::None);
|
||||
|
||||
asyncUpdate->unref();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user