<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: SVGPan: a Javascript SVG (Viewer) Pan/Zoom/Drag library</title>
	<atom:link href="http://www.cyberz.org/blog/2009/12/08/svgpan-a-javascript-svg-panzoomdrag-library/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cyberz.org/blog/2009/12/08/svgpan-a-javascript-svg-panzoomdrag-library/</link>
	<description>Andrea Leofreddi's homepage</description>
	<lastBuildDate>Thu, 15 Jul 2010 08:55:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: andrea</title>
		<link>http://www.cyberz.org/blog/2009/12/08/svgpan-a-javascript-svg-panzoomdrag-library/comment-page-1/#comment-88</link>
		<dc:creator>andrea</dc:creator>
		<pubDate>Thu, 15 Jul 2010 08:55:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberz.org/blog/?p=96#comment-88</guid>
		<description>This library can only zoom and pan SVG documents</description>
		<content:encoded><![CDATA[<p>This library can only zoom and pan SVG documents</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bazley</title>
		<link>http://www.cyberz.org/blog/2009/12/08/svgpan-a-javascript-svg-panzoomdrag-library/comment-page-1/#comment-85</link>
		<dc:creator>Bazley</dc:creator>
		<pubDate>Wed, 07 Jul 2010 23:54:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberz.org/blog/?p=96#comment-85</guid>
		<description>Hi, would it be possible to somehow apply this zoom and pan functionality to an image map such as these?

http://raphaeljs.com/australia.html
http://davidlynch.org/js/maphilight/docs/demo_usa.html

I&#039;m something of a newbie so getting this to work is a bit beyond me I&#039;m afraid!</description>
		<content:encoded><![CDATA[<p>Hi, would it be possible to somehow apply this zoom and pan functionality to an image map such as these?</p>
<p><a href="http://raphaeljs.com/australia.html" rel="nofollow">http://raphaeljs.com/australia.html</a><br />
<a href="http://davidlynch.org/js/maphilight/docs/demo_usa.html" rel="nofollow">http://davidlynch.org/js/maphilight/docs/demo_usa.html</a></p>
<p>I&#8217;m something of a newbie so getting this to work is a bit beyond me I&#8217;m afraid!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vetzo</title>
		<link>http://www.cyberz.org/blog/2009/12/08/svgpan-a-javascript-svg-panzoomdrag-library/comment-page-1/#comment-82</link>
		<dc:creator>vetzo</dc:creator>
		<pubDate>Tue, 29 Jun 2010 18:32:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberz.org/blog/?p=96#comment-82</guid>
		<description>thanks a lot, this is just what I need for my college paper for thematic mapping and svg :)</description>
		<content:encoded><![CDATA[<p>thanks a lot, this is just what I need for my college paper for thematic mapping and svg <img src='http://www.cyberz.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrea</title>
		<link>http://www.cyberz.org/blog/2009/12/08/svgpan-a-javascript-svg-panzoomdrag-library/comment-page-1/#comment-58</link>
		<dc:creator>andrea</dc:creator>
		<pubDate>Fri, 09 Apr 2010 20:23:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberz.org/blog/?p=96#comment-58</guid>
		<description>Hello Sean, yes. Check out http://www.cyberz.org/projects/SVGPan/google.svg</description>
		<content:encoded><![CDATA[<p>Hello Sean, yes. Check out <a href="http://www.cyberz.org/projects/SVGPan/google.svg" rel="nofollow">http://www.cyberz.org/projects/SVGPan/google.svg</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://www.cyberz.org/blog/2009/12/08/svgpan-a-javascript-svg-panzoomdrag-library/comment-page-1/#comment-57</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Fri, 09 Apr 2010 13:14:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberz.org/blog/?p=96#comment-57</guid>
		<description>Hmm, I&#039;ll do some more testing.  I see you&#039;re on a Linux box.  I&#039;m on a Windows XP machine currently.  Using:

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1042 Safari/532.5

Opera/9.80 (Windows NT 5.1; U; en) Presto/2.5.22 Version/10.51

Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)

When I load that url I posted earlier the mouse wheel event is not zooming correct.  Did the url work for you or did you download it and view it locally?</description>
		<content:encoded><![CDATA[<p>Hmm, I&#8217;ll do some more testing.  I see you&#8217;re on a Linux box.  I&#8217;m on a Windows XP machine currently.  Using:</p>
<p>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1042 Safari/532.5</p>
<p>Opera/9.80 (Windows NT 5.1; U; en) Presto/2.5.22 Version/10.51</p>
<p>Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)</p>
<p>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)</p>
<p>When I load that url I posted earlier the mouse wheel event is not zooming correct.  Did the url work for you or did you download it and view it locally?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrea</title>
		<link>http://www.cyberz.org/blog/2009/12/08/svgpan-a-javascript-svg-panzoomdrag-library/comment-page-1/#comment-56</link>
		<dc:creator>andrea</dc:creator>
		<pubDate>Thu, 08 Apr 2010 21:04:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberz.org/blog/?p=96#comment-56</guid>
		<description>I made some tests and i got the following results:

- Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4) Gecko/20091027 Fedora/3.5.4-1.fc12 Firefox/3.5.4 is showing correct behaviour, can pan, zoom, drag the path element and the circle
- Chrome 4.0.249.43 shows correct pan/zoom behaviour, can drag the path element but cannot drag the circle element. Looks like a click on the circle is not setting the proper event target element (instead the root svg element is passed to the event handler, issuing a screen pan) - browser bug?</description>
		<content:encoded><![CDATA[<p>I made some tests and i got the following results:</p>
<p>- Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4) Gecko/20091027 Fedora/3.5.4-1.fc12 Firefox/3.5.4 is showing correct behaviour, can pan, zoom, drag the path element and the circle<br />
- Chrome 4.0.249.43 shows correct pan/zoom behaviour, can drag the path element but cannot drag the circle element. Looks like a click on the circle is not setting the proper event target element (instead the root svg element is passed to the event handler, issuing a screen pan) &#8211; browser bug?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrea</title>
		<link>http://www.cyberz.org/blog/2009/12/08/svgpan-a-javascript-svg-panzoomdrag-library/comment-page-1/#comment-55</link>
		<dc:creator>andrea</dc:creator>
		<pubDate>Thu, 08 Apr 2010 20:49:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberz.org/blog/?p=96#comment-55</guid>
		<description>Hello Sean,
it looks like svgpan gets confused by the viewBox attribute of the main SVG tag. Removing the viewbox attribute and giving a proper scale transformation gives a better result: &lt;a href=&quot;http://www.cyberz.org/projects/SVGPan/google.svg&quot; rel=&quot;nofollow&quot;&gt;have a look here&lt;/a&gt;.

Andrea</description>
		<content:encoded><![CDATA[<p>Hello Sean,<br />
it looks like svgpan gets confused by the viewBox attribute of the main SVG tag. Removing the viewbox attribute and giving a proper scale transformation gives a better result: <a href="http://www.cyberz.org/projects/SVGPan/google.svg" rel="nofollow">have a look here</a>.</p>
<p>Andrea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://www.cyberz.org/blog/2009/12/08/svgpan-a-javascript-svg-panzoomdrag-library/comment-page-1/#comment-54</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Thu, 08 Apr 2010 17:35:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberz.org/blog/?p=96#comment-54</guid>
		<description>Hey Andrea,
   Sorry it took a day, my buddy changed the pw on our domain so I wasn&#039;t able to upload it until now.  IE, Chrome, FF, and Opera all handle this differently it seems, and none are correct.  This is just a simple example I&#039;ve worked up that by its very nature seems to screw up Chrome, try adding an onmouseover to throw an alert on the circle or path and see what happens if you want.  The circle radius and border-width on the paths are the actual values I use in my real application, but I&#039;ve shrunk down the viewBox to enlarge the items further and really demonstrate my point.  If you need, I can strip out one of my maps to just a map on an area as well.
http://structuredchaosinc.com/google.svg
Thank You,
Sean</description>
		<content:encoded><![CDATA[<p>Hey Andrea,<br />
   Sorry it took a day, my buddy changed the pw on our domain so I wasn&#8217;t able to upload it until now.  IE, Chrome, FF, and Opera all handle this differently it seems, and none are correct.  This is just a simple example I&#8217;ve worked up that by its very nature seems to screw up Chrome, try adding an onmouseover to throw an alert on the circle or path and see what happens if you want.  The circle radius and border-width on the paths are the actual values I use in my real application, but I&#8217;ve shrunk down the viewBox to enlarge the items further and really demonstrate my point.  If you need, I can strip out one of my maps to just a map on an area as well.<br />
<a href="http://structuredchaosinc.com/google.svg" rel="nofollow">http://structuredchaosinc.com/google.svg</a><br />
Thank You,<br />
Sean</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrea</title>
		<link>http://www.cyberz.org/blog/2009/12/08/svgpan-a-javascript-svg-panzoomdrag-library/comment-page-1/#comment-53</link>
		<dc:creator>andrea</dc:creator>
		<pubDate>Wed, 07 Apr 2010 18:38:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberz.org/blog/?p=96#comment-53</guid>
		<description>Hello Sean,
can you give a link with an example?

Andrea</description>
		<content:encoded><![CDATA[<p>Hello Sean,<br />
can you give a link with an example?</p>
<p>Andrea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://www.cyberz.org/blog/2009/12/08/svgpan-a-javascript-svg-panzoomdrag-library/comment-page-1/#comment-52</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Wed, 07 Apr 2010 17:17:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberz.org/blog/?p=96#comment-52</guid>
		<description>Good Afternoon,
    I was actually working on something similar but kept running into issues.  I&#039;ve been trying to implement your script for a while this morning.  I need something IE comparable so, unfortunately this script might not help.  I&#039;ve also run into some issues implementing the script in my svg images.  They&#039;re actually maps using decimal degree coordinates for my units.  I&#039;ve run into this issue on Chrome, but it seems my numbers are too small for this script to calculate right.  I have an example image I&#039;ve created that breaks Chrome it seems.  Don&#039;t know if I can post tags in here or if that will mess something up but the skinny is:
1)   create a SVG image with viewBox=&quot;0 0 3 3&quot; 
2)   create a circle cx=&quot;.3&quot; cy=&quot;.3&quot; r=&quot;0.2&quot;
3)   add an onmouseover=&quot;alert(&#039;over circle&#039;);&quot; to the circle

I can never get the action listener to fire.  Plus when I use the mouse wheel on that, (either zoom in or out) the image will disappear.  Can you please advice on what is going on here?
Thank You,
Sean</description>
		<content:encoded><![CDATA[<p>Good Afternoon,<br />
    I was actually working on something similar but kept running into issues.  I&#8217;ve been trying to implement your script for a while this morning.  I need something IE comparable so, unfortunately this script might not help.  I&#8217;ve also run into some issues implementing the script in my svg images.  They&#8217;re actually maps using decimal degree coordinates for my units.  I&#8217;ve run into this issue on Chrome, but it seems my numbers are too small for this script to calculate right.  I have an example image I&#8217;ve created that breaks Chrome it seems.  Don&#8217;t know if I can post tags in here or if that will mess something up but the skinny is:<br />
1)   create a SVG image with viewBox=&#8221;0 0 3 3&#8243;<br />
2)   create a circle cx=&#8221;.3&#8243; cy=&#8221;.3&#8243; r=&#8221;0.2&#8243;<br />
3)   add an onmouseover=&#8221;alert(&#8216;over circle&#8217;);&#8221; to the circle</p>
<p>I can never get the action listener to fire.  Plus when I use the mouse wheel on that, (either zoom in or out) the image will disappear.  Can you please advice on what is going on here?<br />
Thank You,<br />
Sean</p>
]]></content:encoded>
	</item>
</channel>
</rss>
