[core] Auto-growable SpriteAtlas using shelf-pack

This commit is contained in:
John Firebaugh
2017-05-18 16:31:16 -07:00
parent e4e08aca79
commit d766af44c8
20 changed files with 75 additions and 79 deletions

View File

@@ -153,7 +153,7 @@ Map::Impl::Impl(Map& map_,
contextMode(contextMode_),
pixelRatio(pixelRatio_),
programCacheDir(std::move(programCacheDir_)),
annotationManager(std::make_unique<AnnotationManager>(pixelRatio)),
annotationManager(std::make_unique<AnnotationManager>()),
asyncInvalidate([this] {
if (mode == MapMode::Continuous) {
backend.invalidate();