Hi! I'm working on a project using apache batik and i'm not very familiar with it. I've got an svg map and i want to zoom in/ and out. I've found some code to zoom in:
Action zoomInAction = svgCanvas.getActionMap().get(JSVGCanvas.ZOOM_IN_ACTION); Action zoomOutAction = svgCanvas.getActionMap().get(JSVGCanvas.ZOOM_OUT_ACTION); It works, but i don't know how to get the zoomFactor. Moreover, i don't know how to implement a scrolling function, because it always zooms into the middle of the svg. Is it also possible to scroll using the mouse-wheel? Additionally, i want to set points into the map, which are linked to a picture folder on the hdd. Furthermore, i need to convert gps-koordinates into koordinates of the svg. Hopefully someone can help me, because I'm getting desperate.... thx joto -- View this message in context: http://www.nabble.com/zoomIn-svg-tf4670567.html#a13342360 Sent from the Batik - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
