Merge pull request #8874 from osmandapp/PaulsBranch

Show streets on map if no buildings are found
This commit is contained in:
PaulStets 2020-05-01 15:02:12 +03:00 committed by GitHub
commit f908b24ddd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,7 +99,7 @@ public abstract class QuickSearchListFragment extends OsmAndListFragment {
showResult(sr);
} else {
if (sr.objectType == ObjectType.CITY || sr.objectType == ObjectType.VILLAGE) {
if (sr.objectType == ObjectType.CITY || sr.objectType == ObjectType.VILLAGE || sr.objectType == ObjectType.STREET) {
showResult = true;
}
dialogFragment.completeQueryWithObject(sr);