Hi, there is no provinces map available for Kenya. The reason is that there currently don't exist any provinces with ISO 3166-2 codes in Kenya. From Wikipedia: "since March 2013, the 8 provinces are no longer legal and have been replaced by 47 counties<http://en.wikipedia.org/wiki/Counties_of_Kenya> that are also constituencies for the national senate, with a single *subcountry* member for the local administration. The 47 counties are still not officially encoded in ISO 3166-2, but are encoded in national Kenyan statistics by (provisional) 2-digit codes."
- Sergey On Tue, Jan 28, 2014 at 5:13 AM, Brian Towett <[email protected]> wrote: > I can't for the life of me explain why I can't generate a visual for Kenya > using this. It works for every other country except Kenya!!????? > > <html> > <head> > <script type='text/javascript' src='https://www.google.com/jsapi > '></script> > <script type='text/javascript'> > google.load('visualization', '1', {'packages': ['geomap']}); > google.setOnLoadCallback(drawMap); > > function drawMap() { > var data = google.visualization.arrayToDataTable([ > ['County', 'claims'], > ['Nairobi', 200], > ['Nakuru', 300], > ['Mombasa', 400], > ['Kericho', 500], > ['Bungoma', 600], > ['Kakamega', 700] > ]); > > var options = {}; > options['dataMode'] = 'regions'; > options['region'] = 'KE'; > > var container = document.getElementById('map_canvas'); > var geomap = new google.visualization.GeoMap(container); > geomap.draw(data, options); > }; > </script> > </head> > > <body> > <div id='map_canvas'></div> > </body> > > </html> > > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to > [email protected]. > Visit this group at > http://groups.google.com/group/google-visualization-api. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/groups/opt_out.
