map.panBy specifies that its first argument can be a PointLike object. Though if you pass in an {x, y} literal it fails in camera.js due to the Point.convert(offset).mult() call that assumes that the output from Point.convert is a real Point instance, which is not what Point.convert spec actually says, it will only convert Array to Point, other objects (literals) unchanged.
/Fredrik Blomqvist
map.panByspecifies that its first argument can be aPointLikeobject. Though if you pass in an{x, y}literal it fails incamera.jsdue to thePoint.convert(offset).mult()call that assumes that the output fromPoint.convertis a real Point instance, which is not whatPoint.convertspec actually says, it will only convert Array to Point, other objects (literals) unchanged./Fredrik Blomqvist