Comments on: Chapter 3 Map Click Code Tweak http://www.googlemapsbook.com/2006/11/27/chapter-3-map-click-code-tweak/ with PHP or Rails and AJAX: From Novice to Professional Thu, 21 Jul 2011 18:23:10 +0000 http://wordpress.org/?v=2.3.3 By: Pecocet. http://www.googlemapsbook.com/2006/11/27/chapter-3-map-click-code-tweak/#comment-130773 Pecocet. Tue, 13 Jul 2010 04:19:26 +0000 http://www.googlemapsbook.com/2006/11/27/chapter-3-map-click-code-tweak/#comment-130773 <strong>Pecocet online....</strong> Pecocet online. Pecocet.... Pecocet online….

Pecocet online. Pecocet….

]]>
By: Tine Müller http://www.googlemapsbook.com/2006/11/27/chapter-3-map-click-code-tweak/#comment-478 Tine Müller Sun, 17 Dec 2006 10:48:38 +0000 http://www.googlemapsbook.com/2006/11/27/chapter-3-map-click-code-tweak/#comment-478 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;}; 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;};

]]>