From f02c0cc4a7588b595372d5658b7b0e52cc47d4a2 Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Thu, 21 Nov 2019 10:20:54 -0500 Subject: [PATCH] Don't include `area` tag on the point when extracting a point from an area (close #7057) --- modules/actions/extract.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/actions/extract.js b/modules/actions/extract.js index e9f8409bc..6c00a3882 100644 --- a/modules/actions/extract.js +++ b/modules/actions/extract.js @@ -40,7 +40,7 @@ export function actionExtract(entityID, projection) { function extractFromArea(entity, graph) { var keysToCopyAndRetain = ['source', 'wheelchair']; - var keysToRetain = ['type']; + var keysToRetain = ['area', 'type']; var buildingKeysToRetain = ['architect', 'building', 'height', 'layer']; var centroid = d3_geoPath(projection).centroid(entity.asGeoJSON(graph, true));