I'm working on this version now, but can still debug with the old
location: http://www.thegutenberg.com/n0space/

Chad:
I tried again to implement all of the changes you made above. I think
I'm having a hard time with the underlying idea behind instantiating
an infowwindow object. Might the issue be that I have left
infowindowAdd and infoWindow separate? Must I consolidate them, as you
did above?

Also, the only error I'm getting is this (I don't think it's related,
but just in case, I included the headers):

csi:-1Resource interpreted as image but transferred with MIME type
text/html:

Request URL:http://gg.google.com/csi?
v=2&s=mapsapi3&action=apiboot&rt=jl.154,mc.13270,mb.13437,vt.14387,prt.
14387,plt.1271,mt.14387&size=1425x244&maptype=undefined
Request Method:GET
Status Code:204 No Content
Request Headers
Accept:*/*
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Connection:keep-alive
Cookie:PREF=ID=5bbb95bee66b0594:U=b05b5d2823848753:TM=1285665303:LM=1285780328:GM=1:S=OE_7XKlApPNbC6o8;
rememberme=false; HSID=A1kyxPhH4u0ifXkvl; SID=DQAAAJ0AAABzYpLIt_o9ElN8-
nmuIBISO05uacAbY3ym3JURzS1Hk2HRQylYOBHv8OhcyiS9gfq4Mz-7KgVSlBuZu4-
ZUUdZO_O4VcdFXJZDdQlVc7FzbRCXFkp1hcjJEl7RXDO_qwG_XnYi2X8-
hvjyDSmIONgA7aw-orbFuxh5PrmuZrRQvGFoQBEJBxsxcmvUBi0Yyuzad-
LkHdryu_zYXXIhvFPZ; NID=41=LiFdc_wRdAs6-Zy7g9Sb-
lxq4Zds2m6mXpsQ3bEUUCpvg3JQGAwQBGypfYI36GdfIG3LcMzrw-
b3AEIky6ffpA32SLxsMN2sJsb8M3my8aWg9Ktj9eAkaMmBZ-k9qGLP
Host:gg.google.com
Referer:http://thegutenberg.com/n0space/
User-Agent:Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.10
(KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
Query String Parameters
v:2
s:mapsapi3
action:apiboot
rt:jl.154,mc.13270,mb.13437,vt.14387,prt.14387,plt.1271,mt.14387
size:1425x244
maptype:undefined
Response Headers
Cache-Control:private, no-cache
Content-Length:0
Content-Type:text/html
Date:Wed, 21 Jan 2004 19:51:30 GMT
Expires:Wed, 17 Sep 1975 21:32:10 GMT
Pragma:no-cache
Server:Golfe

On Dec 13, 8:23 pm, mattsenate <[email protected]> wrote:
> Hi Chad, thanks for the advice. I'm somewhat at a loss as to determine
> which differences are significant, do you have any more specific
> information as to where or why I should compare? Thanks.
>
> Further, there's an update:
>
> Bug 1: [SOLVED] I think it was a browser issue since I upgraded Chrome
> just now and the display of the info windows became normal again.
>
> Bug 2: Still alive, which is a bummer because all I need is toclose
> the window after a user fills out the form and clicks submit once...
>
> - Matt
>
> On Dec 13, 7:59 pm, Chad Hollman <[email protected]> wrote:
>
>
>
>
>
>
>
> > try comparing our downloadUrl functions.
>
> > On Mon, Dec 13, 2010 at 1:37 PM, mattsenate <[email protected]> wrote:
> > > Hi,
>
> > > I am having a similar problem, but changing data.length to
> > > data.responseText didn't seem to help.
>
> > > My map is here:
> > >http://www.thegutenberg.com/n0space/markers/phpsqlajax_map_v3.html
>
> > > I also combined two tutorials, which is following the advice at the
> > > end of the first tutorial:
> > >http://code.google.com/apis/maps/articles/phpsqlinfo_v3.html
> > >http://code.google.com/apis/maps/articles/phpsqlajax_v3.html
>
> > > In order to not confuse the two types of info windows, I renamed them
> > > so "infowindow" from the first tutorial is "infowindowAdd" everywhere
> > > in order to denote this is the info window to add information to the
> > > MySQL database. I did the same thing for "downloadUrl" which I changed
> > > to "downloadUrlAdd" to keep them separate. I left the other
> > > "infoWindow" stuff from the second tutorial intact. The issues I am
> > > having are:
>
> > > 1. The info windows look funny. There is some weird spacing issue and
> > > the window produces scrollbars instead of conforming to the amount of
> > > text to be displayed. Also, the images that make up the window look
> > > skewed. (I'm running Chrome and Firefox btw).
>
> > > 2. CRITICAL BUG: When I used the "Save&Close" button running just
> > > the first tutorial, the info window actually closed. However, when I
> > > combined the two tutorials into my current map, I lost the
> > > functionality of closing the info window when you submit data, which
> > > permits the user to submit multiple times (which is very bad!).
>
> > > I would love love love if someone could help me at least figure out
> > > the second bug. I am having a hard time devising debugging methods. It
> > > would be pretty awful to get many redundant submissions!
>
> > > Thanks,
> > > Matt
>
> > > On Nov 2, 9:54 pm, gh0st <[email protected]> wrote:
> > > > Worked, gotcha! Replaced data.length with data.responseText like you
> > > > said.
>
> > > > On Nov 2, 11:28 am, Chad Killingsworth
>
> > > > <[email protected]> wrote:
> > > > > In your download url callback at line 109, you are using the data
> > > > > parameter incorrectly. It is an XmlHttpRequest object. If you want the
> > > > > text the ajax call returned, you'll need to check data.responseText.
> > > > > data.length is not a valid property.
>
> > > > > Your call to address.php isn't returning anything either. I'm not sure
> > > > > what you are expecting, but an empty string probably isn't it.
>
> > > > > Chad Killingsworth
>
> > > > > On Nov 2, 1:16 pm, whereschp <[email protected]> wrote:
>
> > > > > > bump
>
> > > > > > On Oct 25, 5:59 pm, gh0st <[email protected]> wrote:
>
> > > > > > > Ok here's the deal. I'm using two different tutorials to get my
> > > > > > > desired outcome but the tutorials have conflicting functions.
> > > > > > > I want to allow user submitted data for saving placemarkers so I
> > > > > > > followed this tutorial:
> > >http://code.google.com/apis/maps/articles/phpsqlinfo_v3.html
> > > > > > > And I want to fetch those user submitted markers from the sql 
> > > > > > > table
> > > > > > > and display so I followed this tutorial:
> > >http://code.google.com/apis/maps/articles/phpsqlajax_v3.html
>
> > > > > > > The downloadUrl functions on each tutorial vary only slightly when
> > > the
> > > > > > > call callback.
> > > > > > > function from saving placemarkers tut:
> > > callback(request.responseText,
> > > > > > > request.status);
> > > > > > > function from fetching placemarkers tut: callback(request,
> > > > > > > request.status);
>
> > > > > > > When I put the desired callback function in the page for what I
> > > want
> > > > > > > to do, say saving a placemarker, the function call works. It
> > > completes
> > > > > > > the function call and closes theinfowindowbut it does not display
> > > > > > > markers already saved in the sql table.
> > > > > > > When I put the callback for fetching placemarkers it doesn't allow
> > > me
> > > > > > > tosaveplacemarkers but displays all the markers already saved in
> > > the
> > > > > > > sql table.
>
> > > > > > > I can paste all my code again if necessary.
>
> > > > > > > On Oct 16, 2:46 am, Rossko <[email protected]> wrote:
>
> > > > > > > > > > >www.whereschp.com/new/index.php?p=mainmap
>
> > > > > > > > My browser reports a javascript error in saveData()
> > > > > > > >     location = new google.maps.marker.getLatLng();
> > > > > > > > Why would you want to be creating a new marker at that point?
>
> > > > > > > > The example at
> > > > > > > >    http://code.google.com/apis/maps/articles/phpsqlinfo_v3.html
> > > > > > > > reads a latlng from an existing marker
> > > > > > > >    var latlng = marker.getPosition();
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Google Maps JavaScript API v3" group.
> > > To post to this group, send email to
> > > [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<google-maps-js-api-v3%2B
> > >  [email protected]>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-maps-js-api-v3?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to