Don't include area tag on the point when extracting a point from an area (close #7057)

This commit is contained in:
Quincy Morgan
2019-11-21 10:20:54 -05:00
parent 2712caefb7
commit f02c0cc4a7
+1 -1
View File
@@ -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));