<?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: Google Maps API 3 – InfoWindows</title>
	<atom:link href="http://www.svennerberg.com/2009/09/google-maps-api-3-infowindows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.svennerberg.com/2009/09/google-maps-api-3-infowindows/</link>
	<description>Web Applications Designed for Humans</description>
	<lastBuildDate>Fri, 03 Feb 2012 20:33:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Fabianlnd</title>
		<link>http://www.svennerberg.com/2009/09/google-maps-api-3-infowindows/#comment-1267</link>
		<dc:creator>Fabianlnd</dc:creator>
		<pubDate>Fri, 27 Jan 2012 15:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.svennerberg.com/?p=2208#comment-1267</guid>
		<description>instead of coord such as lat and long is possible to do with city,country,address????</description>
		<content:encoded><![CDATA[<p>instead of coord such as lat and long is possible to do with city,country,address????</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.svennerberg.com/2009/09/google-maps-api-3-infowindows/#comment-1262</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sun, 15 Jan 2012 18:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.svennerberg.com/?p=2208#comment-1262</guid>
		<description>I am searching a long time now for a solution of my problem. I have a mysql database and want to show some stops of valencia in my map using php and js. I already could show my stops as markers in my map but no matter what i try i cant show for each stop a infowindow. I dont know much of js.... it would be so great if someone could help me with my problem!!! 

This is the code:

	echo &#039;//&lt;![CDATA[&#039;;//MAKE JS with PHP
	echo &#039;
		var map; // Global Map
		function initialize() {
			var myLatlng = new google.maps.LatLng(39.466202, -0.381633);
			var myOptions = {
				zoom: 9,
				center: myLatlng,
				mapTypeId: google.maps.MapTypeId.TERRAIN
			};
			map = new google.maps.Map(document.getElementById(&quot;map_valencia&quot;), myOptions);
			&#039;;/*end of JS snippet*/
			echo &#039;
				var point = new Array();
				var text = new Array();	
			&#039;;/*end of JS snippet*/
			for ($r=0; $r&lt;$rows; $r++){
				echo &#039;
					point[&#039;.$r.&#039;] = new google.maps.LatLng(&#039;.$x[$r].&#039;,&#039;.$y[$r].&#039;);
					text[&#039;.$r.&#039;] = &quot;&#039;.$n[$r].&#039;&quot;;
				&#039;;/*end of JS snippet*/
			}
			echo &#039;
				var infowindow = null;
				var marker = new Array();
				var image = &quot;grafics/stp.png&quot;;
					for (i=0; i &#039;;</description>
		<content:encoded><![CDATA[<p>I am searching a long time now for a solution of my problem. I have a mysql database and want to show some stops of valencia in my map using php and js. I already could show my stops as markers in my map but no matter what i try i cant show for each stop a infowindow. I dont know much of js&#8230;. it would be so great if someone could help me with my problem!!! </p>
<p>This is the code:</p>
<p>	echo &#8216;//&lt;![CDATA[&#039;;//MAKE JS with PHP<br />
	echo &#039;<br />
		var map; // Global Map<br />
		function initialize() {<br />
			var myLatlng = new google.maps.LatLng(39.466202, -0.381633);<br />
			var myOptions = {<br />
				zoom: 9,<br />
				center: myLatlng,<br />
				mapTypeId: google.maps.MapTypeId.TERRAIN<br />
			};<br />
			map = new google.maps.Map(document.getElementById(&quot;map_valencia&quot;), myOptions);<br />
			&#039;;/*end of JS snippet*/<br />
			echo &#039;<br />
				var point = new Array();<br />
				var text = new Array();<br />
			&#039;;/*end of JS snippet*/<br />
			for ($r=0; $r&lt;$rows; $r++){<br />
				echo &#039;<br />
					point[&#039;.$r.&#039;] = new google.maps.LatLng(&#039;.$x[$r].&#039;,&#039;.$y[$r].&#039;);<br />
					text[&#039;.$r.&#039;] = &quot;&#039;.$n[$r].&#039;&quot;;<br />
				&#039;;/*end of JS snippet*/<br />
			}<br />
			echo &#039;<br />
				var infowindow = null;<br />
				var marker = new Array();<br />
				var image = &quot;grafics/stp.png&quot;;<br />
					for (i=0; i &#8216;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.svennerberg.com/2009/09/google-maps-api-3-infowindows/#comment-1263</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sun, 15 Jan 2012 18:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.svennerberg.com/?p=2208#comment-1263</guid>
		<description>I am searching a long time now for a solution of my problem. I have a mysql database and want to show some stops of valencia in my map using php and js. I already could show my stops as markers in my map but no matter what i try i cant show for each stop a infowindow. I dont know much of js.... it would be so great if someone could help me with my problem!!! 

This is the code:

	echo &#039;//&lt;![CDATA[&#039;;//MAKE JS with PHP
	echo &#039;
		var map; // Global Map
		function initialize() {
			var myLatlng = new google.maps.LatLng(39.466202, -0.381633);
			var myOptions = {
				zoom: 9,
				center: myLatlng,
				mapTypeId: google.maps.MapTypeId.TERRAIN
			};
			map = new google.maps.Map(document.getElementById(&quot;map_valencia&quot;), myOptions);
			&#039;;/*end of JS snippet*/
			echo &#039;
				var point = new Array();
				var text = new Array();	
			&#039;;/*end of JS snippet*/
			for ($r=0; $r&lt;$rows; $r++){
				echo &#039;
					point[&#039;.$r.&#039;] = new google.maps.LatLng(&#039;.$x[$r].&#039;,&#039;.$y[$r].&#039;);
					text[&#039;.$r.&#039;] = &quot;&#039;.$n[$r].&#039;&quot;;
				&#039;;/*end of JS snippet*/
			}
			echo &#039;
				var infowindow = null;
				var marker = new Array();
				var image = &quot;grafics/stp.png&quot;;
					for (i=0; i &#039;;</description>
		<content:encoded><![CDATA[<p>I am searching a long time now for a solution of my problem. I have a mysql database and want to show some stops of valencia in my map using php and js. I already could show my stops as markers in my map but no matter what i try i cant show for each stop a infowindow. I dont know much of js&#8230;. it would be so great if someone could help me with my problem!!! </p>
<p>This is the code:</p>
<p>	echo &#8216;//&lt;![CDATA[&#039;;//MAKE JS with PHP<br />
	echo &#039;<br />
		var map; // Global Map<br />
		function initialize() {<br />
			var myLatlng = new google.maps.LatLng(39.466202, -0.381633);<br />
			var myOptions = {<br />
				zoom: 9,<br />
				center: myLatlng,<br />
				mapTypeId: google.maps.MapTypeId.TERRAIN<br />
			};<br />
			map = new google.maps.Map(document.getElementById(&quot;map_valencia&quot;), myOptions);<br />
			&#039;;/*end of JS snippet*/<br />
			echo &#039;<br />
				var point = new Array();<br />
				var text = new Array();<br />
			&#039;;/*end of JS snippet*/<br />
			for ($r=0; $r&lt;$rows; $r++){<br />
				echo &#039;<br />
					point[&#039;.$r.&#039;] = new google.maps.LatLng(&#039;.$x[$r].&#039;,&#039;.$y[$r].&#039;);<br />
					text[&#039;.$r.&#039;] = &quot;&#039;.$n[$r].&#039;&quot;;<br />
				&#039;;/*end of JS snippet*/<br />
			}<br />
			echo &#039;<br />
				var infowindow = null;<br />
				var marker = new Array();<br />
				var image = &quot;grafics/stp.png&quot;;<br />
					for (i=0; i &#8216;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.svennerberg.com/2009/09/google-maps-api-3-infowindows/#comment-1261</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sun, 15 Jan 2012 18:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.svennerberg.com/?p=2208#comment-1261</guid>
		<description>I am searching a long time now for a solution of my problem. I have a mysql database and want to show some stops of valencia in my map using php and js. I already could show my stops as markers in my map but no matter what i try i cant show for each stop a infowindow. I dont know much of js.... it would be so great if someone could help me with my problem!!! 

This is the code:

	echo &#039;//&lt;![CDATA[&#039;;//MAKE JS with PHP
	echo &#039;
		var map; // Global Map
		function initialize() {
			var myLatlng = new google.maps.LatLng(39.466202, -0.381633);
			var myOptions = {
				zoom: 9,
				center: myLatlng,
				mapTypeId: google.maps.MapTypeId.TERRAIN
			};
			map = new google.maps.Map(document.getElementById(&quot;map_valencia&quot;), myOptions);
			&#039;;/*end of JS snippet*/
			echo &#039;
				var point = new Array();
				var text = new Array();	
			&#039;;/*end of JS snippet*/
			for ($r=0; $r&lt;$rows; $r++){
				echo &#039;
					point[&#039;.$r.&#039;] = new google.maps.LatLng(&#039;.$x[$r].&#039;,&#039;.$y[$r].&#039;);
					text[&#039;.$r.&#039;] = &quot;&#039;.$n[$r].&#039;&quot;;
				&#039;;/*end of JS snippet*/
			}
			echo &#039;
				var infowindow = null;
				var marker = new Array();
				var image = &quot;grafics/stp.png&quot;;
					for (i=0; i &#039;;</description>
		<content:encoded><![CDATA[<p>I am searching a long time now for a solution of my problem. I have a mysql database and want to show some stops of valencia in my map using php and js. I already could show my stops as markers in my map but no matter what i try i cant show for each stop a infowindow. I dont know much of js&#8230;. it would be so great if someone could help me with my problem!!! </p>
<p>This is the code:</p>
<p>	echo &#8216;//&lt;![CDATA[&#039;;//MAKE JS with PHP<br />
	echo &#039;<br />
		var map; // Global Map<br />
		function initialize() {<br />
			var myLatlng = new google.maps.LatLng(39.466202, -0.381633);<br />
			var myOptions = {<br />
				zoom: 9,<br />
				center: myLatlng,<br />
				mapTypeId: google.maps.MapTypeId.TERRAIN<br />
			};<br />
			map = new google.maps.Map(document.getElementById(&quot;map_valencia&quot;), myOptions);<br />
			&#039;;/*end of JS snippet*/<br />
			echo &#039;<br />
				var point = new Array();<br />
				var text = new Array();<br />
			&#039;;/*end of JS snippet*/<br />
			for ($r=0; $r&lt;$rows; $r++){<br />
				echo &#039;<br />
					point[&#039;.$r.&#039;] = new google.maps.LatLng(&#039;.$x[$r].&#039;,&#039;.$y[$r].&#039;);<br />
					text[&#039;.$r.&#039;] = &quot;&#039;.$n[$r].&#039;&quot;;<br />
				&#039;;/*end of JS snippet*/<br />
			}<br />
			echo &#039;<br />
				var infowindow = null;<br />
				var marker = new Array();<br />
				var image = &quot;grafics/stp.png&quot;;<br />
					for (i=0; i &#8216;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian</title>
		<link>http://www.svennerberg.com/2009/09/google-maps-api-3-infowindows/#comment-1258</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Thu, 12 Jan 2012 11:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.svennerberg.com/?p=2208#comment-1258</guid>
		<description>Hi,

This example, allows you to format your infowindow in CSS

http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobubble/examples/example.html

And allows you to make tabs.

but I don&#039;t know how to get the result CSS

Anyone knows?

thanks
Sebastian</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>This example, allows you to format your infowindow in CSS</p>
<p><a href="http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobubble/examples/example.html" rel="nofollow">http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobubble/examples/example.html</a></p>
<p>And allows you to make tabs.</p>
<p>but I don&#8217;t know how to get the result CSS</p>
<p>Anyone knows?</p>
<p>thanks<br />
Sebastian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Thomsen</title>
		<link>http://www.svennerberg.com/2009/09/google-maps-api-3-infowindows/#comment-1219</link>
		<dc:creator>Peter Thomsen</dc:creator>
		<pubDate>Tue, 06 Dec 2011 12:47:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.svennerberg.com/?p=2208#comment-1219</guid>
		<description>Hey Gabriel

Is it possible to load several markers to google maps at once from a text file? And if so how?</description>
		<content:encoded><![CDATA[<p>Hey Gabriel</p>
<p>Is it possible to load several markers to google maps at once from a text file? And if so how?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lkool</title>
		<link>http://www.svennerberg.com/2009/09/google-maps-api-3-infowindows/#comment-1205</link>
		<dc:creator>lkool</dc:creator>
		<pubDate>Fri, 11 Nov 2011 01:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.svennerberg.com/?p=2208#comment-1205</guid>
		<description>Did you ever get this figured out?  I need the same thing</description>
		<content:encoded><![CDATA[<p>Did you ever get this figured out?  I need the same thing</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://www.svennerberg.com/2009/09/google-maps-api-3-infowindows/#comment-1204</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Mon, 07 Nov 2011 23:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.svennerberg.com/?p=2208#comment-1204</guid>
		<description>Have you found an answer to this yet? Thanks</description>
		<content:encoded><![CDATA[<p>Have you found an answer to this yet? Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel Svennerberg</title>
		<link>http://www.svennerberg.com/2009/09/google-maps-api-3-infowindows/#comment-1202</link>
		<dc:creator>Gabriel Svennerberg</dc:creator>
		<pubDate>Fri, 04 Nov 2011 08:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.svennerberg.com/?p=2208#comment-1202</guid>
		<description>There&#039;s one thing missing in your code, the position of the InfoWindow. If you want it to be at the center of the map you could do it like this:

&lt;code&gt;google.maps.event.addListener(map, &#039;click&#039;, function(e) {
  infowindow.setPosition(map.getCenter());
  infowindow.open(map);
});
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>There&#8217;s one thing missing in your code, the position of the InfoWindow. If you want it to be at the center of the map you could do it like this:</p>
<p><code>google.maps.event.addListener(map, 'click', function(e) {<br />
  infowindow.setPosition(map.getCenter());<br />
  infowindow.open(map);<br />
});<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fpb01</title>
		<link>http://www.svennerberg.com/2009/09/google-maps-api-3-infowindows/#comment-1199</link>
		<dc:creator>fpb01</dc:creator>
		<pubDate>Thu, 03 Nov 2011 17:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.svennerberg.com/?p=2208#comment-1199</guid>
		<description>I am trying to get a blank infowindow not attached to a marker to open on the map. (Eventually I want to populate this with geographic information based on the location of the click, but for starters I just want to get the infowindow to open). I have not had any success. Here is my code:

(function() {

  window.onload = function() {
    
    var options = {
      zoom: 10,
      center: new google.maps.LatLng(42.5, -74),
      mapTypeId: google.maps.MapTypeId.SATELLITE
    };
    var map = new google.maps.Map(document.getElementById(&#039;map&#039;), options);
	 
	var infowindow = new google.maps.InfoWindow({ 
          content: &#039;Hello world&#039;		  
          }); 
		 
	google.maps.event.addListener(map, &#039;click&#039;, function() {
	    infowindow.open(map);
        });
		
  };
  
       
})();

Any suggestions? Thanks

Frank B., New York</description>
		<content:encoded><![CDATA[<p>I am trying to get a blank infowindow not attached to a marker to open on the map. (Eventually I want to populate this with geographic information based on the location of the click, but for starters I just want to get the infowindow to open). I have not had any success. Here is my code:</p>
<p>(function() {</p>
<p>  window.onload = function() {</p>
<p>    var options = {<br />
      zoom: 10,<br />
      center: new google.maps.LatLng(42.5, -74),<br />
      mapTypeId: google.maps.MapTypeId.SATELLITE<br />
    };<br />
    var map = new google.maps.Map(document.getElementById(&#8216;map&#8217;), options);</p>
<p>	var infowindow = new google.maps.InfoWindow({<br />
          content: &#8216;Hello world&#8217;<br />
          }); </p>
<p>	google.maps.event.addListener(map, &#8216;click&#8217;, function() {<br />
	    infowindow.open(map);<br />
        });</p>
<p>  };</p>
<p>})();</p>
<p>Any suggestions? Thanks</p>
<p>Frank B., New York</p>
]]></content:encoded>
	</item>
</channel>
</rss>

