echarts-gl
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -7,4 +7,6 @@ import * as echarts from 'echarts/lib/echarts'; | ||
getInitialData: function (option, ecModel) { | ||
var coordSysDimensions = echarts.getCoordinateSystemDimensions(this.get('coordinateSystem')) || ['x', 'y']; | ||
var coordType = this.get('coordinateSystem'); // TODO hotfix for the bug in echarts that get coord dimensions is undefined. | ||
var coordSysDimensions = coordType === 'geo' ? ['lng', 'lat'] : echarts.getCoordinateSystemDimensions(coordType) || ['x', 'y']; | ||
if (process.env.NODE_ENV !== 'production') { | ||
@@ -11,0 +13,0 @@ if (coordSysDimensions.length > 2) { |
{ | ||
"name": "echarts-gl", | ||
"description": "Extension pack of ECharts providing 3D plots and globe visualization", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"maintainers": [ | ||
@@ -6,0 +6,0 @@ { |
@@ -12,3 +12,6 @@ import * as echarts from 'echarts/lib/echarts'; | ||
getInitialData: function (option, ecModel) { | ||
var coordSysDimensions = echarts.getCoordinateSystemDimensions(this.get('coordinateSystem')) || ['x', 'y']; | ||
var coordType = this.get('coordinateSystem'); | ||
// TODO hotfix for the bug in echarts that get coord dimensions is undefined. | ||
var coordSysDimensions = coordType === 'geo' ? ['lng', 'lat'] | ||
: (echarts.getCoordinateSystemDimensions(coordType) || ['x', 'y']); | ||
if (process.env.NODE_ENV !== 'production') { | ||
@@ -15,0 +18,0 @@ if (coordSysDimensions.length > 2) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7023865
97000