Hello!
I'm using this the map in this API, but no matter what I set the
zoomLevel to, nothing happens.
Here is the code
[code]
mapData = new google.visualization.DataTable();
mapData.addColumn('number', 'Lat');
mapData.addColumn('number', 'Lon');
mapData.addColumn('string', 'Name');
mapData.addRows(1);
mapData.setCell(0, 0, 37.4232);
mapData.setCell(0, 1, -122.0853);
mapData.setCell(0, 2, 'Car');
var options = {
mapType: 'normal',
zoomLevel: 0,
showTip: false
};
var map = new google.visualization.Map($('#map')[0]);
map.draw(mapData, options);
[/code]
--
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.