diff --git a/src/api-l.js b/src/api-l.js index 4a6f2ab..9f74447 100644 --- a/src/api-l.js +++ b/src/api-l.js @@ -102,8 +102,7 @@ exportSymbolL('WebGLEarth.prototype.fitBounds', function(bnds, opt_opts) { exportSymbolL('WebGLEarth.prototype.panTo', function(center, opt_opts) { if (!goog.isArray(center)) center = [center['lat'], center['lng']]; opt_opts = opt_opts || {}; - this.flyTo(center[0], center[1], undefined, undefined, 0, 0, - undefined, opt_opts['duration']); + this.flyTo(center[0], center[1], undefined, undefined, 0, 0, opt_opts['duration']); });