gvisGeoMap() - 如何放大安大略省
有谁知道如何使用 googleVis 包中的 gvisGeoMap() 查看加拿大(安大略省)的特定省份?我尝试将“区域”选项设置为“CA-ON”,这是该省的 ISO 3166-2 代码,但它不起作用。缩放选项也不太适用。寻找一些建议。谢谢!!
Does any know how to look at a specific province in Canada (Ontario) using gvisGeoMap() from googleVis package? I've tried to set the 'region' option to "CA-ON" which is the ISO 3166-2 code for the province but it doesn't work. The zoom option doesn't quite apply either. Looking for some suggestion. Thanks!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不认为你可以用地理地图来绘制加拿大各省的数据。
在我看来,谷歌对地理图表的推动和开发比地理地图更多。
地理图表使用 SVG / VML 来渲染图表,而不是 Flash。
12 月 6 日,Google 发布了新版本的可视化 API。
地理图表也得到了改进,请参阅:
http://code.google.com/apis/chart/interactive /docs/gallery/geochart.html
googleVis 软件包的新版本 (0.2.13) 考虑了这些更新。
特别是,您可以设置地理图表的分辨率,例如“省份”:
我相信您今天可以为加拿大各省取得的最好成绩如下,
希望这会有所帮助。
I don't think that you can plot data by Canadian provinces with a Geo Map.
It appears to me that Google pushes and develops the Geo Chart more than the Geo Map.
The Geo Chart uses SVG / VML to render the chart rather than Flash.
On December 6 Google published a new version of their Visualisation API.
The Geo Chart was improved as well, see:
http://code.google.com/apis/chart/interactive/docs/gallery/geochart.html
The new version (0.2.13) of the googleVis package takes those updates into account.
In partticular, you can set the resolution of the geo chart, e.g. to 'provinces':
I believe the best you can achieve today for Canadian provinces is the following
I hope this helps.