Don't zoom to the end vertex when continuing a disconnected highway if it is already visible

Add separate fixes for continuing a disconnected highway from the start and end vertices
Highlight the vertex that will be continued
This commit is contained in:
Quincy Morgan
2019-02-11 11:29:34 -05:00
parent 01b0c618d1
commit 47ec58e5fc
5 changed files with 50 additions and 25 deletions
+10
View File
@@ -147,6 +147,16 @@ export function uiEntityIssues(context) {
})
.on('click', function(d) {
d.onClick();
})
.on('mouseover.highlight', function(d) {
d.entityIds.forEach(function(entityId) {
utilHighlightEntity(entityId, true, context);
});
})
.on('mouseout.highlight', function(d) {
d.entityIds.forEach(function(entityId) {
utilHighlightEntity(entityId, false, context);
});
});
}
});