diff --git a/src/ui/camera.js b/src/ui/camera.js index 2226085a420..979108dca7c 100644 --- a/src/ui/camera.js +++ b/src/ui/camera.js @@ -850,7 +850,7 @@ class Camera extends Evented { if (!calculatedOptions) return this; options = extend(calculatedOptions, options); - // Explictly remove the padding field because, calculatedOptions already accounts for padding by setting zoom and center accordingly. + // Explicitly remove the padding field because, calculatedOptions already accounts for padding by setting zoom and center accordingly. delete options.padding; return options.linear ? @@ -1023,7 +1023,7 @@ class Camera extends Evented { * details not specified in `options`. * * Note: The transition will happen instantly if the user has enabled - * the `reduced motion` accesibility feature enabled in their operating system, + * the `reduced motion` accessibility feature enabled in their operating system, * unless `options` includes `essential: true`. * * @memberof Map# @@ -1109,7 +1109,7 @@ class Camera extends Evented { } if (this._padding) { tr.interpolatePadding(startPadding, padding, k); - // When padding is being applied, Transform#centerPoint is changing continously, + // When padding is being applied, Transform#centerPoint is changing continuously, // thus we need to recalculate offsetPoint every fra,e pointAtOffset = tr.centerPoint.add(offsetAsPoint); } @@ -1203,7 +1203,7 @@ class Camera extends Evented { * the user maintain her bearings even after traversing a great distance. * * Note: The animation will be skipped, and this will behave equivalently to `jumpTo` - * if the user has the `reduced motion` accesibility feature enabled in their operating system, + * if the user has the `reduced motion` accessibility feature enabled in their operating system, * unless 'options' includes `essential: true`. * * @memberof Map# @@ -1399,7 +1399,7 @@ class Camera extends Evented { } if (this._padding) { tr.interpolatePadding(startPadding, padding, k); - // When padding is being applied, Transform#centerPoint is changing continously, + // When padding is being applied, Transform#centerPoint is changing continuously, // thus we need to recalculate offsetPoint every frame pointAtOffset = tr.centerPoint.add(offsetAsPoint); }