On Feb 12, 5:18 am, Adam <[email protected]> wrote:
> I have a map athttp://www.ign.ie/map.phpand its shows all markers on
> loading first off then a user can pick a date and the relevant markers
> will be showen, i can't figure out why but when the AJAX call is made
> to map2.php its runs but no map is shown!? But if i manual type in the
> map2.php?id=1&value=2009-02-11 then the map shows no problem.

Is this really a Google Maps API problem?  You aren't using the API
provided functions for your AJAX calls.

I get an error when I type:
http://www.ign.ie/map2.php?id=1&value=2009-02-11
into the browser address bar:
Error: GBrowserIsCompatible is not defined
Source File: http://maps.google.com/intl/en_us/mapfiles/140g/maps2.api/main.js
Line: 180

The end result of your call is putting another div with the same ID
inside
<div id="case_map_wrapper">

So the DOM after the call looks like:
<div id="case_map_wrapper">
<div id="case_map_wrapper">
<div id="map" style="float: left; width: 100%; height: 690px;">


Which probably confuses getElementById.

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