Hi,
Solved it myself. Once again the problem:
This piece of code was working in Chrome, Safari, FF and Opera, but
was not working in IE:
function drawVisualization() {
...
tQuery = 'http://worldofemotions.com/data/worldmapdata.php'
...
+ '&reqid=' + reqid
...
;
var query = new google.visualization.Query(tQuery);
query.send(handleResponse);
}
function handleResponse(response)
{
var container = document.getElementById('world_map');
if (response.isError())
{
container.innerHTML('No data found. ' + response.getMessage()
+ ' ' + response.getDetailedMessage());
}
else
{
var Map = new google.visualization.GeoMap(container);
var options = {};
options['width'] = 728;
options['height'] = 405;
Map.draw(response.getDataTable(), options);
}
reqid = reqid + 1;
}
IE was giving an error somewhere deep in Google visualization API.
I could not solve it with google.visualization.Query, but what I did
instead,
I took an example from AJAX playground
http://code.google.com/apis/ajax/playground/#geo_map
and built a separate page.
Now I just load this page in <iframe>. And that is how geomap is
working in IE and everywhere else.
Cheers,
Alexander.
http://www.worldofemotions.com
On Aug 25, 12:05 am, Alexander <[email protected]> wrote:
> Hi guys,
>
> Here is the problem. I have a
> pagehttp://www.worldofemotions.com/main.php?page=world&RP=ON
> with geomap on it. It works fine in FF, Chrome and Safari, but it
> fails in all versions of IE. I'm getting some weird error deep inside
> geomap code. What I get is this (in Dutch):
>
> Foutdetails webpagina
>
> Gebruikersagent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0;
> Trident/4.0; GTB6; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET
> CLR 3.0.30618)
> Tijdstempel: Mon, 24 Aug 2009 21:53:49 UTC
>
> Bericht: 'this.z[...].c' is leeg of geen object
> Regel: 249
> Teken: 279
> Code: 0
> URI:http://www.google.com/uds/api/visualization/1.0/ba1fb6aaa265dceb11fe4...
>
> Could you please help me?
> Thanks a lot in advance,
>
> Regards,
> Alexander Danilin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Visualization 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-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---