Skip to content

Commit 3f3fef9

Browse files
Merge branch 'master' into master
2 parents 1f012f0 + e94f9ec commit 3f3fef9

File tree

5 files changed

+54
-50
lines changed

5 files changed

+54
-50
lines changed

dist/data_formatter.js

Lines changed: 48 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/data_formatter.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plugin.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
{"name": "USA", "path": "images/worldmap-usa.png"},
2424
{"name": "Light Theme", "path": "images/worldmap-light-theme.png"}
2525
],
26-
"version": "0.0.19",
27-
"updated": "2017-10-11"
26+
"version": "0.0.20",
27+
"updated": "2017-10-13"
2828
},
2929

3030
"dependencies": {

src/data_formatter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default class DataFormatter {
9292
data.lowestValue = lowestValue;
9393
data.valueRange = highestValue - lowestValue;
9494
} else {
95-
result.forEach((datapoint) => {
95+
result.datapoints.forEach((datapoint) => {
9696
const encodedGeohash = datapoint[this.ctrl.panel.esGeoPoint];
9797
const decodedGeohash = decodeGeoHash(encodedGeohash);
9898
const locationName = this.ctrl.panel.esLocationName ? datapoint[this.ctrl.panel.esLocationName] : encodedGeohash;

src/plugin.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
{"name": "USA", "path": "images/worldmap-usa.png"},
2424
{"name": "Light Theme", "path": "images/worldmap-light-theme.png"}
2525
],
26-
"version": "0.0.19",
27-
"updated": "2017-10-11"
26+
"version": "0.0.20",
27+
"updated": "2017-10-13"
2828
},
2929

3030
"dependencies": {

0 commit comments

Comments
 (0)