mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Fix topojson featurecollection path (#30173)
This commit is contained in:
parent
c20bb3a0d4
commit
95638a2000
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ export class AbstractVectorSource extends AbstractSource {
|
|||
}
|
||||
|
||||
if (format === 'topojson') {
|
||||
const features = _.get(fetchedJson, featureCollectionPath);
|
||||
const features = _.get(fetchedJson, `objects.${featureCollectionPath}`);
|
||||
return topojson.feature(fetchedJson, features);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue