Skip to content

Commit

Permalink
upgrade to v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
andybuibui committed May 10, 2024
1 parent 674148f commit 44f4f44
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions dist/echarts-extension-bingmaps.cjs.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* echarts-extension-bingmaps
* @version 1.0.4
* @version 2.0.1
* @author andybuibui
*
* MIT License
Expand Down Expand Up @@ -259,7 +259,7 @@ BingMapCoordSys.create = function (ecModel, api) {
};

var name = "echarts-extension-bingmaps";
var version = "1.0.4";
var version = "2.0.1";

/**
* BingMap extension installer
Expand All @@ -273,7 +273,7 @@ function install(registers) {
var coordSys = seriesModel.coordinateSystem;
var data = seriesModel.getData();
var valueDim = data.mapDimension('value');
if (coordSys && coordSys.type === COMPONENT_TYPE) {
if (coordSys && coordSys._type === COMPONENT_TYPE) {
var center = seriesModel.get('center');
var point = coordSys.dataToPoint(center);
var cx = point[0];
Expand Down
6 changes: 3 additions & 3 deletions dist/echarts-extension-bingmaps.esm.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* echarts-extension-bingmaps
* @version 1.0.4
* @version 2.0.1
* @author andybuibui
*
* MIT License
Expand Down Expand Up @@ -258,7 +258,7 @@ BingMapCoordSys.create = function (ecModel, api) {
};

var name = "echarts-extension-bingmaps";
var version = "1.0.4";
var version = "2.0.1";

/**
* BingMap extension installer
Expand All @@ -272,7 +272,7 @@ function install(registers) {
var coordSys = seriesModel.coordinateSystem;
var data = seriesModel.getData();
var valueDim = data.mapDimension('value');
if (coordSys && coordSys.type === COMPONENT_TYPE) {
if (coordSys && coordSys._type === COMPONENT_TYPE) {
var center = seriesModel.get('center');
var point = coordSys.dataToPoint(center);
var cx = point[0];
Expand Down
6 changes: 3 additions & 3 deletions dist/echarts-extension-bingmaps.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-bingmaps.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/echarts-extension-bingmaps.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-bingmaps.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function install(registers) {
const coordSys = seriesModel.coordinateSystem;
const data = seriesModel.getData();
const valueDim = data.mapDimension('value');
if (coordSys && coordSys.type === COMPONENT_TYPE) {
if (coordSys && coordSys._type === COMPONENT_TYPE) {
const center = seriesModel.get('center');
const point = coordSys.dataToPoint(center);
const cx = point[0];
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"name": "echarts-extension-bingmaps",
"description": "bingmap for Apache ECharts (https://github.com/apache/echarts)",
"private": false,
"version": "2.0.0",
"version": "2.0.1",
"author": "andybuibui",
"license": "MIT",
"files": [
"dist",
"index.d.ts"
],
"main": ".dist/echarts-extension-bingmaps.min.js",
"main": "dist/echarts-extension-bingmaps.min.js",
"module": "dist/echarts-extension-bingmaps.esm.js",
"types": "index.d.ts",
"scripts": {
Expand Down

0 comments on commit 44f4f44

Please sign in to comment.