Move class state to map

https://github.com/mapbox/mapbox-gl-js/pull/936
This commit is contained in:
John Firebaugh
2015-01-14 17:11:59 -08:00
parent c6ca57045f
commit d24b73b1a6
7 changed files with 50 additions and 56 deletions

View File

@@ -188,8 +188,8 @@ TEST_P(HeadlessTest, render) {
CachingHTTPFileSource fileSource(platform::defaultCacheDatabase());
Map map(view, fileSource);
map.setClasses(classes);
map.setStyleJSON(style, base_directory);
map.setAppliedClasses(classes);
view.resize(width, height, pixelRatio);
map.resize(width, height, pixelRatio);