No. The infowindow only closes if the data was successfully saved.

downloadUrl(url, function(data, responseCode) {
        if (responseCode == 200 && data.length <= 1) {
               infowindow.close();

Don't know what you mean by " the URL  will not be visited.",
what URL?

Note also that v3 of the API has its own group:
http://groups.google.com/group/google-maps-js-api-v3?lnk=



On 04/09/2009, Yellowstone <[email protected]> wrote:
>
>  Hi!
>
>  I've been playing around with the code in this article from the API V3
>  reference pages:
>  http://code.google.com/apis/maps/articles/phpsqlinfo_v3.html
>
>  I noticed that even if you just copy-paste the full code at the
>  bottom, it does not work, the infowindow does not close and the URL
>  will not be visited.
>
>  Anything I'm doing wrong here? (The additional file, the one that adds
>  the entry to the sql database, should NOT be necessary, of course it
>  won't work all the way but still, the infowindow should close)
>
>
>  Yellowstone
>  >
>


-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to