Re: Data not displaying for Tasmania

30 views
Skip to first unread message

Sergey

unread,
Nov 7, 2012, 7:52:56 PM11/7/12
to google-visua...@googlegroups.com
Hi,

I'm sorry to hear that you're having difficulties with this. It seems that the string "Tasmania" isn't correctly linked to the ISO code ("AU-TAS") for some reason. You have a few alternatives to get this to work. You could use the ISO code directly, or use any of the strings that are linked correctly as a workaround.

Working names for Tasmania: "塔斯梅尼亞", "tasmanie", "塔斯马尼亚州", "tasmanië", "tasmânia", "tasmanien", "タスマニア州", "태즈메이니아".

On Wednesday, November 7, 2012 4:11:31 PM UTC-8, Neil A wrote:
I'm trying to display a GeoMap of Australia by state. Everything works except for Tasmania. 

Any ideas? Thanks!


function 
drawVisualization({
  var data google.visualization.arrayToDataTable([
    ['State''Total'],
    ['Victoria'200],
    ['New South Wales'300],
    ['Northern Territory'400],
    ['Western Australia'500],
    ['Australian Capital Territory'600],
    ['Tasmania'800],
    ['South Australia'700],
    ['Queensland'400]
  ]);

  var geomap new google.visualization.GeoMap(
      document.getElementById('visualization'));
  geomap.draw(data{region'AU'});
}

Neil A

unread,
Nov 7, 2012, 8:34:31 PM11/7/12
to google-visua...@googlegroups.com
Thanks Sergey, I used one of the alternatives which worked. 

As an Australian, I can confirm AU-TAS is known locally as "Tasmania". 

Cheers!
Reply all
Reply to author
Forward
0 new messages