Hi,
It's my first time using gsap with react(used a lot in as3), and I've a lot of questions if someone can show me an example o guide me in the right direction.
I need to make a map like "google maps", the map it's a div with a background-image and inside svg with point.
The issue I'm having it's if I drag the map the +/- buttons scale the map but in the wrong position, my idea it's if I scale up the the map then drag then scale down it should come back and animate to the starting position.
Now I'm forcing to move to the starting position if the scale it's equal to 1
window.TweenLite.set(this.map, {force3D: true, ease: ease, scale: minScale, transformOrigin: "center center", x: 0, y: 0, z: .001});
Hope it's something easy to fix.
Thanks