diff --git a/x-pack/plugins/maps/public/shared/layers/sources/vector_source.js b/x-pack/plugins/maps/public/shared/layers/sources/vector_source.js index fd9f76040e05..c1a8f94411a1 100644 --- a/x-pack/plugins/maps/public/shared/layers/sources/vector_source.js +++ b/x-pack/plugins/maps/public/shared/layers/sources/vector_source.js @@ -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); }