简体   繁体   中英

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. 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. But how can i combine this advantage with the map i have made using Gmaps and the lines inside? I need a solution

VectorWorkz GeoChart is a good solution for you. 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 .

The online demo of the VectorWorkz GeoCharts .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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