google / google-visualization-issues

288 stars 35 forks source link

Bug: GeoMap does not render-fill- all cities in Turkey - more than 20 cities missing- (region mode) #117

Closed orwant closed 9 years ago

orwant commented 9 years ago
- Detailed implementation is in the attached code, basic summary as follows:

While using GeoMap api (firefox 3.5.5, ie 8) with options below

options['dataMode'] = 'regions';
options['region'] = 'TR';

and adding every city of Turkey via loop below, more than 20 regions of
cities in Turkey are not filled, I think GeoMap api could not match these
cities with regions.

data.addColumn('string', 'City');
data.addColumn('number', 'Popularity');

for (i=0; i<cities.length-1; i++) {
  data.setValue(i, 0, cities[i+1]);
  data.setValue(i, 1, 1);
}

*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************

Original issue reported on code.google.com by gokhant on 2009-11-12 17:52:20


orwant commented 9 years ago
I recommend you to use ISO code

Original issue reported on code.google.com by vtstarin on 2009-11-30 03:38:29

orwant commented 9 years ago
Thanks, now im using ISO codes instead of city names also from 
http://en.wikipedia.org/wiki/ISO_3166-2:TR
TR-1 to TR-81, it works..

But I insist that geomap api must render all cities by their names also. (Rendering
most of the cities and not rendering some is meaningless)

Original issue reported on code.google.com by gokhant on 2009-12-01 14:01:43

orwant commented 9 years ago
Note that city names make sense only when using 'markers' mode. When using 'regions'
mode, you want to refer to regions, not cities.

Original issue reported on code.google.com by yinnon@google.com on 2011-02-15 15:30:58

orwant commented 9 years ago
(No text was entered with this change)

Original issue reported on code.google.com by yinnon@google.com on 2011-02-15 15:39:08