diff options
Diffstat (limited to 'platform/node/test/suite_implementation.js')
-rw-r--r-- | platform/node/test/suite_implementation.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/node/test/suite_implementation.js b/platform/node/test/suite_implementation.js index 6747a14151..28c2068345 100644 --- a/platform/node/test/suite_implementation.js +++ b/platform/node/test/suite_implementation.js @@ -74,8 +74,12 @@ module.exports = function (style, options, callback) { // Ensure that the next `map.render(options)` does not overwrite this change. if (operation[0] === 'setCenter') { options.center = operations[1]; + } else if (operation[0] === 'setZoom') { + options.zoom = operations[1]; } else if (operation[0] === 'setBearing') { options.bearing = operations[1]; + } else if (operation[0] === 'setPitch') { + options.pitch = operations[1]; } map[operation[0]].apply(map, operation.slice(1)); |