You're right, it is way too close to my last thread, I won't do that again.
I wasn't seeing the javascript errors because I'm so new at this that I totally forgot to consult the most elementary tool (firebug) I was instructed to delete an "s" in my regexp, and now my map at least loads, but I'm still not getting any markers. http://pivcec.dyndns.org/geowiki/map/dynamic_map.html We added some lines of code so that the GMap should be able to load from the regex now, but I was told that I have to set it to run AFTER my map has initialized, and I don't know how to do that. http://www.pastie.org/366321 Can anyone perhaps help me get that done? On Jan 20, 7:19 pm, Rossko <[email protected]> wrote: > Seems to be a duplicate thread of > http://groups.google.com/group/Google-Maps-API/browse_thread/thread/b... > > > Here is the page I am trying to do this with: > > >http://pivcec.dyndns.org/geowiki/map/dynamic_map.html > > > Does anyone see any immediate problems, or know how I can get this to > > work? > > Yes, do you not see the javascript errors? I don't even get a map. > > <body onunload="setCookie()"> > > That fails because setCookie() is not yet defined. > You need to load the javascript defining that before executing the > <body> tag > Maybe put it in a <script> tag in the head. > > xhr.responseText.match(/<div class="patternTopic">(\s*?".+?"(,"[-\d\.] > +"){2})*\s*?<\/div>/si); > > That fails because there's something wrong with the match pattern. > I think perhaps missing some quotes or escapes. > Might help - > http://www.javascriptkit.com/javatutors/redev.shtml > > Judging by the code that follows, I'd have thought you'd want to use > the match more like this - > var matches = xhr.responseText.match( .... > > cheers, Ross K --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
