On 7/18/05, spanakimaria <[EMAIL PROTECTED]> wrote: > How can I have an svg frame that can not be panned or zoomed, and an > svg image inside the frame that allows zoom and pan?
An alternative to the reverse transforms suggested (which I believe can be slightly buggy, I've read one viewers misimplements a CTM function, possibly not screenCTM) is setting zoomAndPan="disable" and implementing dragging and zooming by interpreting mouse and key events yourself - I have, to make dragging only work inside a viewport that displays maps. It does mean you have to reimplement a bunch of things that are already available, and that getting at viewport coordinates is less accurate as you have to calculate that yourself too. (See http://svg.scarfboy.com/newiface/test.svg but consider I'm actively working on that. If interested, I'll help make sense of the mess of code) --Bart ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/