- From: Cyril Concolato <cyril.concolato@telecom-paristech.fr>
- Date: Tue, 17 Jul 2012 10:10:32 +0200
- To: www-svg@w3.org
Hi Doug, Le 7/16/2012 4:56 PM, Doug Schepers a écrit : > Hi, folks- > > I was just reminded of a use case I thought of long ago, but never > articulated: the ability to wrap an SVG image on either (or both) the > x or y axis. > > This would be most useful for maps, though there would be other uses. > For example, when panning east to west on a map, currently, you just > "run out" of map... you bump into the western border; if we allowed > pan wrapping, the western (leftmost) border would attach seamlessly to > the eastern (rightmost) border, making a continuous pan. See this > submarine cable map for a practical example [1]. > > This might complicate the viewBox (depending on how that interaction > is defined), but I still think we should discuss it. > > > I imagine this working much like CSS background tiling; it could be as > simple as having a 'pan-wrap' property, with values 'repeat-x | > repeat-x | repeat | none'. This looks like you want the "spreadMethod = "pad | reflect | repeat"" (or a improved version) of the gradient elements apply to a pattern element, no? My 2 cents, Cyril > > This is one of those things that would be relatively simple to do in a > UA, and hard to do in script or markup (I think). > > [1] http://submarine-cable-map-2012.telegeography.com/ > > Regards- > -Doug >
Received on Tuesday, 17 July 2012 08:10:55 UTC