Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xslt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Highcharts 如何在highmaps中加入2个或更多mapData?_Highcharts_Highmaps - Fatal编程技术网

Highcharts 如何在highmaps中加入2个或更多mapData?

Highcharts 如何在highmaps中加入2个或更多mapData?,highcharts,highmaps,Highcharts,Highmaps,我想规划亚太地区(亚洲和非洲),我如何才能做到这一点 series: [{ data: data, mapData: Highcharts.maps['custom/asia'], joinBy: 'hc-key', name: 'Random data', }, 不可能只连接您提到的两个贴图,因为它们具有不同的基本坐标/属性。您将得到两个重叠的贴图- 你可以使用更大的地图-比你需要的更多(例如,大陆世界地图)。下

我想规划亚太地区(亚洲和非洲),我如何才能做到这一点

    series: [{
        data: data,
        mapData: Highcharts.maps['custom/asia'],
        joinBy: 'hc-key',
        name: 'Random data',
    },

不可能只连接您提到的两个贴图,因为它们具有不同的基本坐标/属性。您将得到两个重叠的贴图-

你可以使用更大的地图-比你需要的更多(例如,大陆世界地图)。下一步,不要为您不想要的区域提供数据,并设置为false

例如:

另一个选项是创建自定义地图,如中所述