mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 15:34:49 +02:00
Fix points layer
This commit is contained in:
@@ -22,7 +22,13 @@ export function Points(projection, context) {
|
||||
|
||||
points.sort(sortY);
|
||||
|
||||
var groups = surface.selectAll('.layer-hit').selectAll('g.point')
|
||||
var layer = surface.selectAll('.layer-hit')
|
||||
.data([0]);
|
||||
|
||||
layer = layer.enter().append('g').attr('class', 'layer-hit')
|
||||
.merge(layer);
|
||||
|
||||
var groups = layer.selectAll('g.point')
|
||||
.filter(filter)
|
||||
.data(points, Entity.key);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user