--- In [email protected], "robsvgd" <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to make an SVG map but when I use the following code > nothing appears in my SVG doc? It should be a line? If anyone > could offer any suggestions it would be much appreciated. > > Cheers, > > Rob
Hi rob I noticed that many of your points had been 'widowed' from the '-' sign, this will cause display problems because the '-' chracter is not allowed in the d.value, it is only allowed as an sign of the number value e.g my parser read "M - 75.76" when it actuall should read "M -75.76" also you viewbox is vastly out of proportion with the path element: your elemnt is about 10 units wide and maybe 6 units high at the level you SCALED down element will never be visible, although it is there (when the sign is corrected) [it is like trying to see a Pea from space!] i changed the viewbox to viewBox="-80 40 30 20" then it was visible hope this helps Garry > > > <?xml version="1.0" standalone="no"?> > <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG > 1.0//EN" "http://www.w3.org/TR/SVG/DTD/svg10.dtd"> > <svg width="100%" height="100%" viewBox="-34880016 12448728 > 495718049 33969278" xmlns="http://www.w3.org/2000/svg" > xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve"> > <g id="uscan_border"> > <path stroke="black" fill="black" stroke-width="3" id="0" d="M - > 75.76 44.52 L -75.76 44.52 L -75.33 44.81 L -74.97 44.95 L -74.74 > 44.99 L -74.02 44.99 L -73.35 45.01 L -73.19 45.01 L -72.55 45.01 L - > 71.9 45.01 L -71.51 45.01 L -71.5 45.06 L -71.43 45.12 L -71.4 45.2 > L -71.45 45.24 L -71.39 45.23 L -71.3 45.29 L -71.15 45.24 L -71.09 > 45.3 L -70.96 45.34 L -70.88 45.23 L -70.84 45.28 L -70.81 45.35 L - > 70.83 45.39 L -70.8 45.43 L -70.64 45.39 L -70.72 45.51 L -70.55 > 45.66 L -70.4 45.72 L -70.42 45.79 L -70.25 45.9 L -70.25 45.94 L - > 70.31 45.97 L -70.28 46.05 L -70.31 46.07 L -70.23 46.14 L -70.28 > 46.19 L -70.19 46.33 L -70.05 46.43 L -70.01 46.57 L -69.99 46.69 L - > 69.23 47.45 L -69.05 47.42 L -69.04 47.26 L -68.9 47.18 L -68.52 > 47.3 L -68.39 47.29 L -68.34 47.36 L -68.23 47.35 L -67.79 47.06 L - > 67.78 45.95 L -67.76 45.92 L -67.8 45.88 L -67.76 45.83 L -67.8 > 45.79 L -67.8 45.68 L -67.75 45.66 L -67.72 45.68 L -67.62 45.61 L - > 67.44 45.59 L -67.42 45.5 L -67.5 45.49 L -67.42 45.38 L -67.48 > 45.28 L -67.44 45.19 L -67.35 45.12 L -67.27 45.18 L -67.17 > 45.16"></path> > </g> > </svg> ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

