Highcharts贴图(甚至示例)不起作用

Highcharts贴图(甚至示例)不起作用,highcharts,Highcharts,并行运行MacOS 10.13.5和Windows 10。从…加载Highcharts示例。。。地图背景是灰色的,只有当我将鼠标移到这些州上时,才会填充这些州 这在MacOS和Windows中都会发生。截图来自Highcharts网站 根据我编辑的注释进行编辑,如下所示,因为我同时显示来自同一模块的图表和地图: <script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.1.1.js"

并行运行MacOS 10.13.5和Windows 10。从…加载Highcharts示例。。。地图背景是灰色的,只有当我将鼠标移到这些州上时,才会填充这些州

这在MacOS和Windows中都会发生。截图来自Highcharts网站

根据我编辑的注释进行编辑,如下所示,因为我同时显示来自同一模块的图表和地图:

<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.1.1.js"></script>
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/highcharts-more.js"></script>
<script src="https://code.highcharts.com/highcharts-3d.js"></script>
<!-- USE MASTER BRANCH OF HIGHCHARTS MAPPING AND NOT RELEASE VERSION **** TEMP *** https://stackoverflow.com/questions/51051239/highcharts-maps-even-samples-dont-work
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.6/proj4.js"></script>
    -->

<!--
<script src="http://code.highcharts.com/maps/modules/map.js"></script>
<script src="http://code.highcharts.com/maps/modules/data.js"></script>

    -->

<script src="https://github.highcharts.com/master/maps/highmaps.js"></script>
<script src="https://github.highcharts.com/master/maps/modules/data.js"></script>
<script src="https://github.highcharts.com/master/maps/modules/exporting.js"></script>
<script src="https://github.highcharts.com/master/maps/modules/offline-exporting.js"></script>

<script src="https://code.highcharts.com/mapdata/countries/us/us-all.js"></script>

但我得到了错误16。我想我应该从github中提取所有的lib,但看起来有些名称也已经更改了?

Highcharts的主分支上似乎已经修复了此错误:

<script src="https://github.highcharts.com/master/maps/highmaps.js"></script>
<script src="https://github.highcharts.com/master/maps/modules/data.js"></script>
<script src="https://github.highcharts.com/master/maps/modules/exporting.js"></script>
<script src="https://github.highcharts.com/master/maps/modules/offline-exporting.js">
现场演示:


修复程序将包含在Highmaps的下一个版本中。

看起来像是库正在被删除的问题。您是否尝试使用本地托管的页面?非常感谢,非常感谢。请参阅对主要帖子的编辑-我现在收到错误16,我怀疑这意味着用于图表的发布libs和用于映射的github libs不同步?此错误的原因是您同时导入了highcharts和highmaps-highmaps代码已经包含完整的highcharts代码。在这种情况下,应将地图作为模块导入:本文档页面对此进行了说明: