You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2020/11/10 16:43:59 UTC

[incubator-echarts-examples] branch next updated: Still use old version of world map

This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-examples.git


The following commit(s) were added to refs/heads/next by this push:
     new f4e0a86  Still use old version of world map
f4e0a86 is described below

commit f4e0a867ce7eae9a05cc7a07d9b7db217dd8c5d4
Author: pissang <bm...@gmail.com>
AuthorDate: Wed Nov 11 00:41:49 2020 +0800

    Still use old version of world map
---
 src/data/chart-list-data-gl.js | 18 +++++++++---------
 src/editor/Preview.vue         |  1 +
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/src/data/chart-list-data-gl.js b/src/data/chart-list-data-gl.js
index e27f438..1f58210 100644
--- a/src/data/chart-list-data-gl.js
+++ b/src/data/chart-list-data-gl.js
@@ -20,15 +20,15 @@ export default [
     "title": "3D Bar with Dataset",
     "difficulty": 10
   },
-  // {
-  //   "category": [
-  //     "bar3D"
-  //   ],
-  //   "id": "bar3d-global-population",
-  //   "tags": [],
-  //   "title": "Bar3D - Global Population",
-  //   "difficulty": 10
-  // },
+  {
+    "category": [
+      "bar3D"
+    ],
+    "id": "bar3d-global-population",
+    "tags": [],
+    "title": "Bar3D - Global Population",
+    "difficulty": 10
+  },
   {
     "category": [
       "bar3D"
diff --git a/src/editor/Preview.vue b/src/editor/Preview.vue
index 8da1ebd..52a3db1 100644
--- a/src/editor/Preview.vue
+++ b/src/editor/Preview.vue
@@ -96,6 +96,7 @@ export function ensureECharts() {
             'local' in URL_PARAMS
                 ? SCRIPT_URLS.localEChartsMinJS : SCRIPT_URLS.echartsMinJS,
             SCRIPT_URLS.echartsDir + '/dist/extension/dataTool.js',
+            'https://cdn.jsdelivr.net/npm/echarts@4.9.0/map/js/world.js',
             SCRIPT_URLS.echartsStatMinJS,
             ...URL_PARAMS.gl ? [SCRIPT_URLS.echartsGLMinJS] : [],
             ...hasBmap ? [


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org