I need help trying to scale and center to a certain element within an svg. I am using jquery.ui.layout, tweenmax and draggable.
I use getBBox() to get the group element's location in the svg file, and then use the values here: TweenLite.to(svgness, 1.5, scaleX: 3, scaleY: 3, svgOrigin: x + " " + y });
It sort of works, but then the element is not really centered in the window.