Skip to content

Commit

Permalink
release: v1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
plainheart committed Sep 18, 2024
1 parent f796a19 commit 25f6344
Show file tree
Hide file tree
Showing 20 changed files with 45 additions and 36 deletions.
4 changes: 2 additions & 2 deletions build/header.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const fs = require('fs')
const path = require('path')
const fs = require('node:fs')
const path = require('node:path')
const { name, version, author } = require('../package.json')

const COMMENT_END_REGEX = /\*\//g
Expand Down
11 changes: 7 additions & 4 deletions dist/echarts-extension-gmap.cjs.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* echarts-extension-gmap
* @version 1.6.0
* @version 1.7.0
* @author plainheart
*
* MIT License
*
* Copyright (c) 2020-2022 Zhongxiang Wang
* Copyright (c) 2020-2024 Zhongxiang Wang
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -38,6 +38,7 @@ function v2Equal(a, b) {
}

/* global google */

function dataToCoordSize(dataSize, dataItem) {
dataItem = dataItem || [0, 0];
return echarts.util.map([0, 1], function (dimIdx) {
Expand Down Expand Up @@ -298,6 +299,7 @@ var GMapModel = {
var GMapModel$1 = isNewEC ? echarts.ComponentModel.extend(GMapModel) : GMapModel;

/* global google */

var GMapView = {
type: COMPONENT_TYPE,
render: function render(gmapModel, ecModel, api) {
Expand Down Expand Up @@ -350,7 +352,7 @@ var GMapView = {
}
this._renderHandler = google.maps.event.addListener(gmap, renderOnMoving ? 'gmaprender' : 'idle', renderHandler);
gmap.setOptions({
gestureHandling: gmapModel.get('roam') ? 'auto' : 'none'
gestureHandling: gmapModel.get('roam') ? gmapModel.get('gestureHandling') || 'auto' : 'none'
});
rendering = false;
},
Expand Down Expand Up @@ -384,12 +386,13 @@ var GMapView = {
var GMapView$1 = isNewEC ? echarts.ComponentView.extend(GMapView) : GMapView;

var name = "echarts-extension-gmap";
var version = "1.6.0";
var version = "1.7.0";

/**
* Google Map component extension
*/


/**
* @typedef {import('../export').EChartsExtensionRegisters} EChartsExtensionRegisters
*/
Expand Down
11 changes: 7 additions & 4 deletions dist/echarts-extension-gmap.esm.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*!
* echarts-extension-gmap
* @version 1.6.0
* @version 1.7.0
* @author plainheart
*
* MIT License
*
* Copyright (c) 2020-2022 Zhongxiang Wang
* Copyright (c) 2020-2024 Zhongxiang Wang
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -37,6 +37,7 @@ function v2Equal(a, b) {
}

/* global google */

function dataToCoordSize(dataSize, dataItem) {
dataItem = dataItem || [0, 0];
return util.map([0, 1], function (dimIdx) {
Expand Down Expand Up @@ -297,6 +298,7 @@ var GMapModel = {
var GMapModel$1 = isNewEC ? ComponentModel.extend(GMapModel) : GMapModel;

/* global google */

var GMapView = {
type: COMPONENT_TYPE,
render: function render(gmapModel, ecModel, api) {
Expand Down Expand Up @@ -349,7 +351,7 @@ var GMapView = {
}
this._renderHandler = google.maps.event.addListener(gmap, renderOnMoving ? 'gmaprender' : 'idle', renderHandler);
gmap.setOptions({
gestureHandling: gmapModel.get('roam') ? 'auto' : 'none'
gestureHandling: gmapModel.get('roam') ? gmapModel.get('gestureHandling') || 'auto' : 'none'
});
rendering = false;
},
Expand Down Expand Up @@ -383,12 +385,13 @@ var GMapView = {
var GMapView$1 = isNewEC ? ComponentView.extend(GMapView) : GMapView;

var name = "echarts-extension-gmap";
var version = "1.6.0";
var version = "1.7.0";

/**
* Google Map component extension
*/


/**
* @typedef {import('../export').EChartsExtensionRegisters} EChartsExtensionRegisters
*/
Expand Down
11 changes: 7 additions & 4 deletions dist/echarts-extension-gmap.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.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions 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 examples/heatmap.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@5/dist/echarts.min.js"></script>
<!-- echarts gmap extension -->
<!-- <script type="text/javascript" src="../dist/echarts-extension-gmap.min.js"></script> -->
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts-extension-gmap@1.6.0/dist/echarts-extension-gmap.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts-extension-gmap@1.7.0/dist/echarts-extension-gmap.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
<style type="text/css">
* {
Expand Down
2 changes: 1 addition & 1 deletion examples/heatmap_zh_CN.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@5/dist/echarts.min.js"></script>
<!-- 引入ECharts谷歌地图扩展 -->
<!-- <script type="text/javascript" src="../dist/echarts-extension-gmap.min.js"></script> -->
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts-extension-gmap@1.6.0/dist/echarts-extension-gmap.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts-extension-gmap@1.7.0/dist/echarts-extension-gmap.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
<style type="text/css">
* {
Expand Down
Loading

0 comments on commit 25f6344

Please sign in to comment.