Add zoom to search result, closes #2023

This commit is contained in:
Aaron Lidman
2013-11-25 17:12:11 -08:00
parent 636692cf96
commit f6acacd4f0
+1
View File
@@ -186,6 +186,7 @@ iD.ui.FeatureList = function(context) {
function click(d) {
if (d.entity) {
context.map().zoomTo(d.entity);
context.enter(iD.modes.Select(context, [d.entity.id]));
} else {
context.loadEntity(d.id);