简体   繁体   English

在Google地理图表中的两点之间绘制曲线

[英]Draw Curved Line between Two Points in Google Geo Chart

My intention is to have a map that contains multiple markers on different countries. 我的意图是制作一张包含不同国家/地区的多个标记的地图。 The markers are connected each others. 标记相互连接。 The countries/regions will have different colors based the numbers data related to each of those. 根据与每个国家/地区有关的数字数据,国家/地区将具有不同的颜色。 Then, i have done with a simple map using Gmaps and managed to plot the markers and then connected each marker to others with customized curved line. 然后,我使用Gmaps完成了一个简单的地图,并设法绘制了标记,然后使用自定义的曲线将每个标记连接到其他标记。 I was using this library . 我正在使用这个库

Yet now i'm facing one more trouble: how to deal with different colors for each country based on the numbers data related to each of those? 但是现在我又遇到了一个麻烦:如何根据与每个国家/地区有关的数字数据为每个国家/地区处理不同的颜色? Here i have an array containing the countries and numbers related t each of those and i want to differentiate the colors between those countries with smaller number results lighter color and bigger number results darker. 在这里,我有一个数组,其中包含与每个国家/地区相关的国家/地区和数字,并且我想区分这些国家/地区的颜色,数字越小,颜色越浅,数字越大,颜色越暗。

I have found Google Geo Chart that makes it easy to implement and looks very beautiful. 我发现Google地理图表可以轻松实现,而且外观非常漂亮。 But how can i combine this advantage with the map i have made using Gmaps and the lines inside? 但是,如何将这种优势与使用Gmap和内部线条制作的地图结合起来? I need a solution 我需要一个解决方案

VectorWorkz GeoChart is a good solution for you. VectorWorkz GeoChart是您的理想解决方案。 It already supports heat maps on countries and markers. 它已经支持有关国家和标记的热图。 It can also be extend to support drawing lines between markers. 它也可以扩展以支持标记之间的绘图线。 Check with them for more info. 请与他们联系以获取更多信息。

Here is the features of VectorWorkz GeoCharts . 这是VectorWorkz GeoCharts的功能。

The online demo of the VectorWorkz GeoCharts . VectorWorkz GeoCharts的在线演示。

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

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