<?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: Print button for Google Map API</title>
	<atom:link href="http://abcoder.com/google/google-map-api/print-button-for-google-map-api/feed/" rel="self" type="application/rss+xml" />
	<link>http://abcoder.com/google/google-map-api/print-button-for-google-map-api/</link>
	<description>ABCoder - Coding is Simple as A b c</description>
	<lastBuildDate>Sun, 29 Aug 2010 15:49:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Fred</title>
		<link>http://abcoder.com/google/google-map-api/print-button-for-google-map-api/comment-page-1/#comment-6759</link>
		<dc:creator>Fred</dc:creator>
		<pubDate>Fri, 13 Aug 2010 16:58:24 +0000</pubDate>
		<guid isPermaLink="false">http://abcoder.com/?p=137#comment-6759</guid>
		<description>okay... i stopped thinking... ;-)

var contents = window.opener.document.getElementById(&quot;googlemap&quot;).cloneNode(true);
document.getElementById(&quot;googleprint&quot;).appendChild(contents);</description>
		<content:encoded><![CDATA[<p>okay&#8230; i stopped thinking&#8230; ;-)</p>
<p>var contents = window.opener.document.getElementById(&#8220;googlemap&#8221;).cloneNode(true);<br />
document.getElementById(&#8220;googleprint&#8221;).appendChild(contents);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred</title>
		<link>http://abcoder.com/google/google-map-api/print-button-for-google-map-api/comment-page-1/#comment-6758</link>
		<dc:creator>Fred</dc:creator>
		<pubDate>Fri, 13 Aug 2010 16:53:08 +0000</pubDate>
		<guid isPermaLink="false">http://abcoder.com/?p=137#comment-6758</guid>
		<description>Hey adnan,

i changed your code 
document.write(contents.innerHTML);
to
document.getElementById(&quot;googleprint&quot;).appendChild(contents);

now the svg path shows up correctly.
but the map disapears in the &#039;original&#039; window.

any idea why?</description>
		<content:encoded><![CDATA[<p>Hey adnan,</p>
<p>i changed your code<br />
document.write(contents.innerHTML);<br />
to<br />
document.getElementById(&#8220;googleprint&#8221;).appendChild(contents);</p>
<p>now the svg path shows up correctly.<br />
but the map disapears in the &#8216;original&#8217; window.</p>
<p>any idea why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adnan</title>
		<link>http://abcoder.com/google/google-map-api/print-button-for-google-map-api/comment-page-1/#comment-6757</link>
		<dc:creator>adnan</dc:creator>
		<pubDate>Fri, 13 Aug 2010 12:22:04 +0000</pubDate>
		<guid isPermaLink="false">http://abcoder.com/?p=137#comment-6757</guid>
		<description>@Fred, I&#039;m not sure how to do that. There is a print button on http://maps.google.com/ and you can print directions from there, but no way if you are printing it from your custom gmap api code.

I&#039;d like to know too. Please share with me if you get any solution. 

Thanks :)</description>
		<content:encoded><![CDATA[<p>@Fred, I&#8217;m not sure how to do that. There is a print button on <a href="http://maps.google.com/" rel="nofollow">http://maps.google.com/</a> and you can print directions from there, but no way if you are printing it from your custom gmap api code.</p>
<p>I&#8217;d like to know too. Please share with me if you get any solution. </p>
<p>Thanks :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred</title>
		<link>http://abcoder.com/google/google-map-api/print-button-for-google-map-api/comment-page-1/#comment-6756</link>
		<dc:creator>Fred</dc:creator>
		<pubDate>Fri, 13 Aug 2010 12:01:32 +0000</pubDate>
		<guid isPermaLink="false">http://abcoder.com/?p=137#comment-6756</guid>
		<description>Some informations in my last post aren&#039;t working. so I try again:

Your example works fine! Thanks for that!
But I have a problem with directions:
If my map shows a direction path from on destination to another and you do not (!) use firefox then the path is a &quot;img&quot;-object and all works fine.
But if you use firefox then the direction path is a &quot;svg&quot;-&quot;path&quot;-object and the path is not showing up in the popup window.
I read on google groups:
“SVG Web does not support using innerHTML to load SVG files.”
Is there any work-around?
Thanks for your help!</description>
		<content:encoded><![CDATA[<p>Some informations in my last post aren&#8217;t working. so I try again:</p>
<p>Your example works fine! Thanks for that!<br />
But I have a problem with directions:<br />
If my map shows a direction path from on destination to another and you do not (!) use firefox then the path is a &#8220;img&#8221;-object and all works fine.<br />
But if you use firefox then the direction path is a &#8220;svg&#8221;-&#8221;path&#8221;-object and the path is not showing up in the popup window.<br />
I read on google groups:<br />
“SVG Web does not support using innerHTML to load SVG files.”<br />
Is there any work-around?<br />
Thanks for your help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred</title>
		<link>http://abcoder.com/google/google-map-api/print-button-for-google-map-api/comment-page-1/#comment-6755</link>
		<dc:creator>Fred</dc:creator>
		<pubDate>Fri, 13 Aug 2010 11:58:41 +0000</pubDate>
		<guid isPermaLink="false">http://abcoder.com/?p=137#comment-6755</guid>
		<description>Your example works fine! Thanks for that!
But I have a problem with directions:
If my map shows a direction path from on destination to another and you do not (!) use firefox then the path is a  object and all works fine.
But if you use firefox then the direction path is a  object and the path is not showing up in the popup window.
I read on google groups:
&quot;SVG Web does not support using innerHTML to load SVG files.&quot;
Is there any work-around?
Thanks for your help!</description>
		<content:encoded><![CDATA[<p>Your example works fine! Thanks for that!<br />
But I have a problem with directions:<br />
If my map shows a direction path from on destination to another and you do not (!) use firefox then the path is a  object and all works fine.<br />
But if you use firefox then the direction path is a  object and the path is not showing up in the popup window.<br />
I read on google groups:<br />
&#8220;SVG Web does not support using innerHTML to load SVG files.&#8221;<br />
Is there any work-around?<br />
Thanks for your help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adnan</title>
		<link>http://abcoder.com/google/google-map-api/print-button-for-google-map-api/comment-page-1/#comment-4057</link>
		<dc:creator>adnan</dc:creator>
		<pubDate>Thu, 17 Dec 2009 10:48:09 +0000</pubDate>
		<guid isPermaLink="false">http://abcoder.com/?p=137#comment-4057</guid>
		<description>you are most welcome @Markgt</description>
		<content:encoded><![CDATA[<p>you are most welcome @Markgt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Markgt</title>
		<link>http://abcoder.com/google/google-map-api/print-button-for-google-map-api/comment-page-1/#comment-4056</link>
		<dc:creator>Markgt</dc:creator>
		<pubDate>Thu, 17 Dec 2009 09:57:50 +0000</pubDate>
		<guid isPermaLink="false">http://abcoder.com/?p=137#comment-4056</guid>
		<description>That worked perfectly - thanks so much! been looking for a while for a way to do this 
thanks for sharing :)</description>
		<content:encoded><![CDATA[<p>That worked perfectly &#8211; thanks so much! been looking for a while for a way to do this<br />
thanks for sharing :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adnan</title>
		<link>http://abcoder.com/google/google-map-api/print-button-for-google-map-api/comment-page-1/#comment-3678</link>
		<dc:creator>adnan</dc:creator>
		<pubDate>Fri, 20 Nov 2009 18:51:06 +0000</pubDate>
		<guid isPermaLink="false">http://abcoder.com/?p=137#comment-3678</guid>
		<description>Thank you @prisme for the info.</description>
		<content:encoded><![CDATA[<p>Thank you @prisme for the info.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: prisme</title>
		<link>http://abcoder.com/google/google-map-api/print-button-for-google-map-api/comment-page-1/#comment-3428</link>
		<dc:creator>prisme</dc:creator>
		<pubDate>Fri, 06 Nov 2009 14:14:31 +0000</pubDate>
		<guid isPermaLink="false">http://abcoder.com/?p=137#comment-3428</guid>
		<description>Seems that the Static maps API provides a simpler way to get a printable image :

http://code.google.com/intl/fr/apis/maps/documentation/staticmaps/</description>
		<content:encoded><![CDATA[<p>Seems that the Static maps API provides a simpler way to get a printable image :</p>
<p><a href="http://code.google.com/intl/fr/apis/maps/documentation/staticmaps/" rel="nofollow">http://code.google.com/intl/fr/apis/maps/documentation/staticmaps/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kree</title>
		<link>http://abcoder.com/google/google-map-api/print-button-for-google-map-api/comment-page-1/#comment-3267</link>
		<dc:creator>kree</dc:creator>
		<pubDate>Sat, 17 Oct 2009 07:14:43 +0000</pubDate>
		<guid isPermaLink="false">http://abcoder.com/?p=137#comment-3267</guid>
		<description>Thanks @adnan. I have to search another way then...</description>
		<content:encoded><![CDATA[<p>Thanks @adnan. I have to search another way then&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
