W3C home > Mailing lists > Public > www-svg@w3.org > February 2006

Re: greater zoom in

From: Antoine Quint <ml@graougraou.com>
Date: Tue, 21 Feb 2006 10:52:06 +0100
Message-Id: <2BB49EEB-0239-4EEB-BFB9-8A914E9C6876@graougraou.com>
Cc: <www-svg@w3.org>
To: Omar Zevallos <omzeta@ec-red.com>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:53 UTC