简体   繁体   English

自动选择Google Geochart的区域

[英]Autoselect region for google geochart

is it possible to autoselect the display region of a google chart api geochart? 是否可以自动选择Google Chart API Geochart的显示区域?

I don't know where the cities are, so I can't decide which region to show. 我不知道城市在哪里,所以我无法决定显示哪个区域。 Therefore I wonder, if there is a way to let the chart api decide which region to display. 因此,我想知道是否有办法让图表API决定要显示的区域。

Have a look at this example: 看一下这个例子:

http://jsfiddle.net/2mEzV/ http://jsfiddle.net/2mEzV/

All cities are in Europe, so I would like to only show the european continent instead of the whole world. 所有城市都在欧洲,所以我只想展示欧洲大陆而不是整个世界。

Can I achieve this with the Google chart api? 我可以使用Google Chart API实现吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM