<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Chapter 3 Map Click Code Tweak</title>
	<link>http://www.googlemapsbook.com/2006/11/27/chapter-3-map-click-code-tweak/</link>
	<description>with PHP or Rails and AJAX: From Novice to Professional</description>
	<pubDate>Fri, 10 Sep 2010 09:52:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Pecocet.</title>
		<link>http://www.googlemapsbook.com/2006/11/27/chapter-3-map-click-code-tweak/#comment-130773</link>
		<dc:creator>Pecocet.</dc:creator>
		<pubDate>Tue, 13 Jul 2010 04:19:26 +0000</pubDate>
		<guid>http://www.googlemapsbook.com/2006/11/27/chapter-3-map-click-code-tweak/#comment-130773</guid>
		<description>&lt;strong&gt;Pecocet online....&lt;/strong&gt;

Pecocet online. Pecocet....</description>
		<content:encoded><![CDATA[<p><strong>Pecocet online&#8230;.</strong></p>
<p>Pecocet online. Pecocet&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tine Müller</title>
		<link>http://www.googlemapsbook.com/2006/11/27/chapter-3-map-click-code-tweak/#comment-478</link>
		<dc:creator>Tine Müller</dc:creator>
		<pubDate>Sun, 17 Dec 2006 10:48:38 +0000</pubDate>
		<guid>http://www.googlemapsbook.com/2006/11/27/chapter-3-map-click-code-tweak/#comment-478</guid>
		<description>Does it mean that I in this code on page 41 i should paste the new code:

GEvent.addListener(map, "click", function(overlay, latlng) {

NEW CODE IN HERE SHOULD BE
----------

//only perform the click if the window is closed and the click was directly on the map.
if(!overlay) {
----------



//create an HTML DOM form element
var inputForm = document.createElement("form");
inputForm.setAttribute("action","");
inputForm.onsubmit = function() {storeMarker(); return false;};</description>
		<content:encoded><![CDATA[<p>Does it mean that I in this code on page 41 i should paste the new code:</p>
<p>GEvent.addListener(map, &#8220;click&#8221;, function(overlay, latlng) {</p>
<p>NEW CODE IN HERE SHOULD BE<br />
&#8212;&#8212;&#8212;-</p>
<p>//only perform the click if the window is closed and the click was directly on the map.<br />
if(!overlay) {<br />
&#8212;&#8212;&#8212;-</p>
<p>//create an HTML DOM form element<br />
var inputForm = document.createElement(&#8221;form&#8221;);<br />
inputForm.setAttribute(&#8221;action&#8221;,&#8221;");<br />
inputForm.onsubmit = function() {storeMarker(); return false;};</p>
]]></content:encoded>
	</item>
</channel>
</rss>
