Re: greater zoom in

Hi,

On 21 févr. 2006, at 03:53, Omar Zevallos wrote:

> Hi Antoine Quint, I´m developing a viewer for geographic data (from  
> WFS) and there is so much data in a layer, which I would like to  
> load in the greater ' zoom in'. But single the viewer allows 16 -  
> zoom in.

I assume you're talking about the Adobe SVG Viewer, of which UI only  
allows to zoom in at level 16x.

> How can I reach at a greater zoom in?

In order to zoom in further, you'd have to implement the user  
interface controls yourself and zoom the SVG contents yourself. There  
is a variety of ways you can do that, depending on whether you want  
to zoom into the whole document, or selected components only. For the  
whole document, you might want to look at updating the root <svg>  
element's "viewBox" attribute with script. In order to apply zoom to  
a given <g> container, you'd have to update its "transform"  
attribute's scale command using script too.

Antoine
-- 
Antoine Quint — Fuchsia Design
SVG & Client-side XML Consulting
W3C SVG WG Invited Expert
http://fuchsia-design.com

Received on Tuesday, 21 February 2006 09:52:15 UTC