Google Geocharts:地图和标记在同一张地图上? [英] Google Geocharts: Regions and Markers on same map?

查看:93
本文介绍了Google Geocharts:地图和标记在同一张地图上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Google的 GeoCharts 。我有州数据和城市数据,我想在城市数据上显示。这意味着我想同时使用geochart 地区标记显示模式。这可以做,或伪造?我似乎无法找到一种方法,但想知道是否有其他人已经取得成功。

正如文档中所述 mode 参数可以是 region marker 。所以他们不能一起使用。我建议您尝试支持这种行为的 jVectorMap 库。


I'm experimenting with Google's GeoCharts. I have state data and city data that I want to display over the city data. This means I want to use the geochart regions and markers display mode at the same time. Can this be done, or faked? I can't seem to find a way but was wondering if anyone else has had success.

解决方案

As stated in documentation mode parameter could be region or marker. So they could not be used together. I would recommend you to try jVectorMap library which supports such kind of behavior.

这篇关于Google Geocharts:地图和标记在同一张地图上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆