<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tech Blog &#187; google maps</title>
	<atom:link href="http://informationideas.com/news/category/google-maps/feed/" rel="self" type="application/rss+xml" />
	<link>http://informationideas.com/news</link>
	<description>Using technology to help your business</description>
	<lastBuildDate>Fri, 23 Jul 2010 06:24:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Google maps info window size problem with images</title>
		<link>http://informationideas.com/news/2009/06/08/google-maps-info-window-size-problem-with-images/</link>
		<comments>http://informationideas.com/news/2009/06/08/google-maps-info-window-size-problem-with-images/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 03:02:12 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[google maps]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=101</guid>
		<description><![CDATA[One strange thing when using Google Maps API with pictures in the info window is that sometimes the window is not tall enough to enclose all the content. It overflows the white info window background. The problems is because Google maps API tries to calculate the height of all the content while the photos are [...]]]></description>
			<content:encoded><![CDATA[<p>One strange thing when using Google Maps API with pictures in the info window is that sometimes the window is not tall enough to enclose all the content.  It overflows the white info window background.  The problems is because Google maps API tries to calculate the height of all the content while the photos are being pulled by other http requests.  They are asynchronous and the photos might take longer to load than it takes for Google Maps API to determine what the height of the info window should be.  It has been said that setting the height of the element would give Gmaps a hint as to how tall the photos might be and adjust accordingly.  So doing something like the following would help.</p>
<blockquote><p>&lt;img src=&#8221;pic.jpg&#8221; height=&#8221;80&#8243; /&gt;</p></blockquote>
<p>Also, if you are using any sort of table or div containers for the image, it would also help to specify the height of the container element to make sure Gmaps knows to account for it.</p>
<blockquote><p>&lt;table&gt;<br />
&lt;tr height=&#8221;80&#8243;&gt;<br />
&lt;td&gt;<br />
&lt;img src=&#8221;pic.jpg&#8221; height=&#8221;80&#8243; /&gt;<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;</p></blockquote>
<p>Hope that helps you solve this little problem.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://informationideas.com/news/2009/06/08/google-maps-info-window-size-problem-with-images/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://informationideas.com/news/2009/06/08/google-maps-info-window-size-problem-with-images/&amp;title=Google+maps+info+window+size+problem+with+images" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://informationideas.com/news/2009/06/08/google-maps-info-window-size-problem-with-images/&amp;title=Google+maps+info+window+size+problem+with+images" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://informationideas.com/news/2009/06/08/google-maps-info-window-size-problem-with-images/&amp;t=Google+maps+info+window+size+problem+with+images" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://informationideas.com/news/2009/06/08/google-maps-info-window-size-problem-with-images/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://informationideas.com/news/2009/06/08/google-maps-info-window-size-problem-with-images/&amp;title=Google+maps+info+window+size+problem+with+images&amp;summary=One%20strange%20thing%20when%20using%20Google%20Maps%20API%20with%20pictures%20in%20the%20info%20window%20is%20that%20sometimes%20the%20window%20is%20not%20tall%20enough%20to%20enclose%20all%20the%20content.%20%20It%20overflows%20the%20white%20info%20window%20background.%20%20The%20problems%20is%20because%20Google%20maps%20API%20tries%20to%20calculate%20the%20height%20of%20all%20the%20content%20while%20th&amp;source=Tech Blog" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://informationideas.com/news/2009/06/08/google-maps-info-window-size-problem-with-images/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Google+maps+info+window+size+problem+with+images+-+http://b2l.me/abz7nk&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2009/06/08/google-maps-info-window-size-problem-with-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
