I’ve done a port of this very good class to Cocos2Dx v3.4.
I think it works very well (tested on Android and Windows by now).
If you want to test feel free to use, maybe some expert coder than me can make other tweaks for optimize it.
I made a fork: https://github.com/DarioDP/cocos2d-x-panzoomlayer
(just updated the code, not the project folder)