Countries that are too small don't appear on the maps. Even when the maps
are drawn large enough to see their outlines, the API still ignores them.
Note that this is also the case with geocharts (which have replaced
geomaps).
On Wednesday, August 8, 2012 8:58:09 AM UTC-4, Kiran wrote:
>
> Im quit new to this API,here im not able to find bermuda on geomap. i
> wrote code as below
>
> var data = new google.visualization.DataTable();
> data.addRows(regobj.length);
> data.addColumn('string', 'Country Code');
> data.addColumn('number', 'No. of Participants');
> data.addColumn('string', 'Country Name');
> data.setValue(0, 0, 'BM');
> data.setValue(0, 1, 1000);
> data.setValue(0, 2, 'Bermuda');
> data.setValue(1, 0, 'IS');
> data.setValue(1, 1, 2);
> data.setValue(1, 2, 'Iceland');
> data.setValue(2, 0, 'BS');
> data.setValue(2, 1, 2);
> data.setValue(2, 2, 'Bahamas');
> var options = {};
> options['dataMode'] = 'regions';
> options['width'] = 3000;
> options['height'] = 1500;
> options['showZoomOut'] = false;
> options['colors'] = [0xabf194, 0x5dca39, 0x1f8009];
> var container = document.getElementById('map_canvas');
> var geomap = new google.visualization.GeoMap(container);
> geomap.draw(data, options);
>
>
>
> can any one help me please.
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/MhH4Pya3lKUJ.
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.