Skip to content

Commit

Permalink
[release] prepare release 1.0.3 ~
Browse files Browse the repository at this point in the history
  • Loading branch information
plainheart committed Jun 15, 2020
1 parent c338d66 commit 5df017f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
6 changes: 3 additions & 3 deletions dist/echarts-extension-gmap.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/echarts-extension-gmap.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/echarts-extension-gmap.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "echarts-extension-gmap",
"version": "1.0.2",
"version": "1.0.3",
"description": "An Google Map(https://www.google.com/maps) extension for ECharts(https://github.com/apache/incubator-echarts)",
"main": "dist/echarts-extension-gmap.min.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/GMapCoordSys.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* global AMap */
/* global google */

import { util as zrUtil, graphic, matrix } from "echarts";

Expand Down
5 changes: 4 additions & 1 deletion src/GMapView.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/* global google */

import * as echarts from "echarts";
import debounce from 'lodash.debounce';
import debounce from "lodash.debounce";

export default echarts.extendComponentView({
type: "gmap",
Expand Down Expand Up @@ -71,6 +73,7 @@ export default echarts.extendComponentView({
// clear all listeners of map instance
google.maps.event.clearInstanceListeners(gmapInstance);

// remove DOM of map instance
var mapDiv = gmapInstance.getDiv();
mapDiv.parentNode.removeChild(mapDiv);

Expand Down

0 comments on commit 5df017f

Please sign in to comment.