Add rotateBy and rotateTo to the API

This commit is contained in:
Tom 2022-11-12 18:20:26 -05:00
parent bfddf7355b
commit 84bbc27a17

View File

@ -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