expose map.release() method

This commit is contained in:
Mike Morris
2015-05-20 17:19:36 -04:00
parent e4536789eb
commit fe3d6bbbd5
7 changed files with 117 additions and 27 deletions

View File

@@ -54,6 +54,8 @@ function renderTest(style, info, base, key) {
map.render(info[key], function(err, data) {
t.error(err);
map.release();
var expected = path.join(dir, 'expected.png');
var actual = path.join(dir, 'actual.png');
var diff = path.join(dir, 'diff.png');