When trying to draw a chart of type MAP, I get the following error:
Uncaught TypeError: google.visualization.Map is not a function
This happens only with this type of chart.
<html>
<head>
<script type="text/javascript" src="https://www.google.com/jsapi"></script><script>google.load('visualization','1.0',{'packages':['corechart']});google.setOnLoadCallback(drawChart_locations_map);functiondrawChart_locations_map(){vardata=google.visualization.arrayToDataTable([["Cities","Users"],
["Sao Paulo",4460],
["Rio de Janeiro",1935]
]);
var options = {"mapType":"satellite"};
var chart = new google.visualization.Map(document.getElementById('googlechart_locations_map'));
chart.draw(data, options);
}
</script>
</head>
<body>
<div id="googlechart_locations_map"></div>
</body>
</html>