From 213a4bdb60a2a17670ae0d20a6f03efe3d9ba7c6 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 14 Nov 2019 23:10:01 +0800 Subject: [PATCH] fix: chart demo code --- examples/point/chartmap/demo/chart.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/point/chartmap/demo/chart.js b/examples/point/chartmap/demo/chart.js index 140a8b20dd..23823c095a 100644 --- a/examples/point/chartmap/demo/chart.js +++ b/examples/point/chartmap/demo/chart.js @@ -1,6 +1,7 @@ import { Scene } from '@l7/scene'; import { Marker } from '@l7/component' -import * as G2Plot from '@antv/g2plot' +import G2Plot from '@antv/g2plot' + const scene = new Scene({ id: 'map', type: 'amap', @@ -137,5 +138,3 @@ const scene = new Scene({ // }); // }); - -