mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 05:30:35 +02:00
Don't include area tag on the point when extracting a point from an area (close #7057)
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user