Hey there!
I'm using the GeoMaps visualization and it works great in all the
other browsers (FF, Opera, Safari, Chrome) except IE 7 and 8. I'm
getting the EXACT same error message as Eden:
Message: Expected ';'
Line: 1
Char: 43
I tried the link you supplied above and it too throws the error
Sorry, I should've put this in my first message. I'm getting the
error in IE when I click on a country and do:
google.visualization.events.addListener(geomap, 'regionClick', function
() {alert(HEY)});
Thanks again!
On May 12, 6:53 am, VizBoy viz...@google.com wrote:
This doesn't seem like a
you need a ; after alert() and before the closing bracket of the
function-
google.visualization.events.addListener(geomap, 'regionClick',
function () {alert(HEY)});
should be
google.visualization.events.addListener(geomap, 'regionClick', function
() {alert(HEY);});
--Robert
On May 13, 1:16
On May 13, 7:03 am, Robert kinkymun...@gmail.com wrote:
you need a ; after alert() and before the closing bracket of the
function-
The code is correct as written. A semicolon there is legal, but its
not required.
Mark
google.visualization.events.addListener(geomap, 'regionClick',
Thanks Robert. Sorry, but I do have that...that was just a slight mistype
in my example. I'm really sorry I didn't copy and paste the code.
Here's my code:
*function gotoPage(url)
{
window.top.location.href = url;
}
google.load('visualization', '1', {'packages': ['geomap']});
I tried the examples on:
http://code.google.com/apis/visualization/documentation/gallery/motio...
And they don't work in the particular version of IE 7 that I am using.
I tried it with IE 6 and a different version of 7 and it works fine.
The version of IE that it doesn't work on is 7.0.5730.11
This doesn't seem like a problem with the API, but rather with your html
page. Perhaps a bad encoding, or some bad character in the doctype
definition?
Could you try going into one of our example pages and see if it works for
you?
For instance,