Re: [visualization-api] Re: GeoChart Countries being displayed incorrectly

2015-06-03 Thread Daniel Buttery
Hey Sergey. I was hoping to use this chart in a similar way for International data, so thought I'd chime in. :) Would it be possible to have an option for the chart that forces it to interpret given locations at a certain regional level? For example you could have forceDistrictISO = true; or

Re: [visualization-api] Re: GeoChart Countries being displayed incorrectly

2015-06-03 Thread 'Sergey Grabkovsky' via Google Visualization API
I'm not sure that would be possible. I don't think we can give the Maps geocoder hints like that. I think that one of the things that we could be doing better is to calculate the center of the regions currently being displayed on the map, and allow for markers to refer to them directly, without

Re: [visualization-api] Re: GeoChart Countries being displayed incorrectly

2015-06-02 Thread Diogo Ribeiro
Thanks a lot for your help Daniel Sergey. Should I create a bug reporting this issue? I didn't find this information stated in https://developers.google.com/chart/interactive/docs/gallery/geochart#markers-mode-format On Mon, Jun 1, 2015 at 2:44 PM, 'Sergey Grabkovsky' via Google Visualization

Re: [visualization-api] Re: GeoChart Countries being displayed incorrectly

2015-06-02 Thread 'Sergey Grabkovsky' via Google Visualization API
I completely agree that the behavior is not ideal, but we can't exactly do anything to fix it either. I'll file an internal bug to document this better. On Tue, Jun 2, 2015 at 3:48 AM Diogo Ribeiro diogotaribe...@gmail.com wrote: Thanks a lot for your help Daniel Sergey. Should I create a

[visualization-api] Re: GeoChart Countries being displayed incorrectly

2015-06-01 Thread Daniel Buttery
Looks like a mixup with Country Codes that match 'regional' codes (DE = Delaware, AR = Arkansas). https://jsfiddle.net/23rzy5qv/ GB (UK) works fine as there is no matching regional code, but SE (Sweden) goes to South America. Working fine if you change the country codes to country names, but

Re: [visualization-api] Re: GeoChart Countries being displayed incorrectly

2015-06-01 Thread 'Sergey Grabkovsky' via Google Visualization API
Hi Diogo, For 'markers' mode, we use Google Maps for geocoding the locations (converting a string location to a latitude and longitude), and so ambiguous locations may not get geocoded as you might expect. Because of this, even though we recommend ISO 3166 codes to be used for 'regions' mode,