The problems is in the use of the . If I use a the viewbox displays
correctly.
>
> The question is why the behaves differently than a ?
> New svg:
The difference is because symbol establishes a new viewport but g does not per
http://www.w3.org/TR/SVG/coords.html#EstablishingANewViewport
Best
The problems is in the use of the . If I use a the viewbox displays
correctly.
The question is why the behaves differently than a ?
New svg:
http://www.w3.org/2000/svg";
xmlns:xlink="http://www.w3.org/1999/xlink";
xmlns:ev="http://www.w3.org/2001/xml-events"; height="100%" width="100%"
TYPO:
svgroot.getElementById in my message
should be svgroot.getAttribute
and parseInt could be parseFloat depending on the precision of your
co-ordinate system.
-Aashish
--- In svg-developers@yahoogroups.com, "Aashish Singhvi"
<[EMAIL PROTECTED]> wrote:
>
> re: "what viewbox values are act
re: "what viewbox values are actually used by svg
> when you don't set the viewbox,"
If you don't specify the viewBox attribute, it would work like
specifying viewBox="0 0 0 0". However, width=0 and height=0 do not
make sense. So the SVG Viewer renders with 100% of width and height
of the sv
Resource Kit
SVG site: http://www.schemasoft.org/svg/main.svg
HTML site: http://www.schemasoft.org/
-Original Message-
From: Jan [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 1. März 2005 16:11
To: svg-developers@yahoogroups.com
Subject: [svg-developers] Re: ViewBox Question
I'm tryin
I'm trying to incorporate my svg map app into another app that
already exists. The already existing app already has zoom controls
and a dropdown box that I would like to use and it works if I use the
default viewbox (i.e. no viewbox values set). However, if I set a
viewbox, the zoom control
6 matches
Mail list logo