Seems to be a duplicate thread of
  
http://groups.google.com/group/Google-Maps-API/browse_thread/thread/b444f856bc29bdf1#


> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to