Google Geocharts:地图和标记在同一张地图上? [英] Google Geocharts: Regions and Markers on same map?
问题描述
我正在尝试使用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屋!