I'm using an SVG map, and I'm trying to zoom and center the map based on where the mouse is clicked. I'm able to center the area I want zoomed with translate(), but scale() is always assuming the (0,0) point of the SVG is the upper left corner. This messes up the zoom.
Do you have any suggestions? I tried setting imageMode and shapeMode to CENTER, but they didn't seem to help. I've been looking in the geomerative docs, but I haven't yet found anything similar.