From 84bbc27a17277fe1551317be1199de743a6eccec Mon Sep 17 00:00:00 2001 From: Tom Date: Sat, 12 Nov 2022 18:20:26 -0500 Subject: [PATCH] Add rotateBy and rotateTo to the API --- src/viewport.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viewport.js b/src/viewport.js index 5e9fd8a9..1c047db2 100644 --- a/src/viewport.js +++ b/src/viewport.js @@ -1022,7 +1022,7 @@ $.Viewport.prototype = { }, /** - * Rotates this viewport by the angle specified. Alias for setRotation to be consistent with with pan and zoom API + * Rotates this viewport by the angle specified. * @function * @param {Number} degrees The degrees by which to rotate the viewport. * @param {Boolean} [immediately=false] Whether to animate to the new angle