Update search result

This commit is contained in:
Victor Shcherb 2021-04-23 17:38:42 +02:00
parent 8ea8316835
commit 98e0742e77

View file

@ -52,15 +52,15 @@ public enum ObjectType {
switch (t) { switch (t) {
case HOUSE: case HOUSE:
case STREET_INTERSECTION: case STREET_INTERSECTION:
return 5;
case STREET:
return 4; return 4;
case STREET:
return 3;
case CITY: case CITY:
case VILLAGE: case VILLAGE:
case POSTCODE: case POSTCODE:
return 3;
case POI:
return 2; return 2;
case POI:
return 1;
default: default:
return 1; return 1;
} }