Discussion:
Unable to Zoom past 16x?
(too old to reply)
K***@adobeforums.com
2006-09-11 09:31:31 UTC
Permalink
I have the same problem. After I tried to change the currentScale value from a javascript, I got problem with the pan. Stopped on zooming by change bbox attribute. This method works with large zooms, but has problem with rendering transparency objects (changes stroke width). Do you have the same problems/bugs?
P***@adobeforums.com
2006-09-14 11:49:20 UTC
Permalink
I have a very large SVG file, but ASV only seems to allow 16x zoom.
I added some Javascript to set the zoom level higher, and it
worked, but I was wondering if this feature was documented
anywhere, and if anyone had a workaround? Being unable to zoom past
this point is rendering this SVG essentially useless, but if I have
to hand edit each one and build my own zoom, I will.
We created our own JS to zoom and pan. Once you zoom in on a wide
drawing, panning corrupts the image. Our code modifies the viewBox
instead. We then used our own menu to call our JS so zooming is
transparent to the user. Unfortunately, we lost the ability to pan
by dragging - we didn't rewrite that code.

-pete

P.S But with Adobe dropping support for SVG - there are no more SVG
browser plugins or desktop ActiveX's on windows that support
scripting/animation. Is anybody planning on continuing with SVG?
K***@adobeforums.com
2006-09-14 12:46:28 UTC
Permalink
I think after the latest news about breaking supporting their plugin by Adobe no one will continue with this format. Especially after Microsoft's framework 3, when it will be released. I meen WinFX. Think the SVG format is nearly dead.
C***@adobeforums.com
2006-09-14 14:36:12 UTC
Permalink
Pete,

Unfortunately we use an information publisher that prints to SVG still, so we still have to be able to use it. Is there anyway you could share that JS with me, so I can play with rewriting the panning code, and we won't be completely dead in the water?

Thanks,
Chris

P.S. Firefox has native support for SVGs I'm told, but I haven't played with it much to see...
P***@adobeforums.com
2006-09-18 17:40:19 UTC
Permalink
Post by C***@adobeforums.com
Pete,
Unfortunately we use an information publisher that prints to SVG
still, so we still have to be able to use it. Is there anyway you
could share that JS with me, so I can play with rewriting the
panning code, and we won't be completely dead in the water?
Thanks,
Chris
P.S. Firefox has native support for SVGs I'm told, but I haven't
played with it much to see...
Chris,

Is Wednesday ok? The guy who'd be best to extract this is out sick
today. If you're in a rush, email me directly and I'll send you what
I've got.

-pete
***@pdmagic.com

--

Loading...