[OSM-talk] osmarender
Etienne
80n80n at gmail.com
Tue Sep 5 09:08:45 BST 2006
On 9/5/06, Jonas Svensson <jonass at lysator.liu.se> wrote:
>
> On Mon, 4 Sep 2006, Etienne wrote:
>
> > On 9/4/06, Jonas Svensson <jonass at lysator.liu.se> wrote:
> > >
> > > The SVG produced by osmarender when transformed in Firefox seems to
> > > be missing a couple of attributes that makes it hard to handle for
> > > Firefox and Opera. Is it possible to add the width, height and
> > > viewBox to the svg-element?
> >
> >
> > Yes, do you have specific details of what should be added?
>
> Sorry not really. The SVG element should look something like this in
> addition the attributes already there:
>
> <svg width="300px" height="200px" version="1.1"
> viewBox="0 0 1500 1000" preserveAspectRatio="xMidYMid meet"
> xmlns="http://www.w3.org/2000/svg">
>
> I do no not know how to get the numbers, or if it is
> even possible to find them. 300 and 200 is quite obvious what they are. 0
> 0 1500 1000 is <min-x>, <min-y>, <width> and <height>. I suspect that the
> best result is by setting both width attributes to the same value and the
> same for height.
Thanks. This gives me somewhere to start. I'll experiment with these
settings.
Etienne.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20060905/3207968a/attachment.html>
More information about the talk
mailing list