Pan Wrap

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 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 Monday, 16 July 2012 14:56:41 UTC