Update search location
This commit is contained in:
parent
1ae660dd59
commit
61e2d908ec
1 changed files with 10 additions and 4 deletions
|
@ -1,10 +1,16 @@
|
|||
package net.osmand.search.core;
|
||||
|
||||
public enum ObjectType {
|
||||
CITY(true), VILLAGE(true), POSTCODE(true), STREET(true), HOUSE(true),
|
||||
STREET_INTERSECTION(true), POI_TYPE(false), POI(true), LOCATION(true), PARTIAL_LOCATION(false), FAVORITE(true),
|
||||
SEARCH_API_FINISHED(false),
|
||||
REGION(true), RECENT_OBJ(true), WPT(true), UNKNOWN_NAME_FILTER(false);
|
||||
// ADDRESS
|
||||
CITY(true), VILLAGE(true), POSTCODE(true), STREET(true), HOUSE(true),STREET_INTERSECTION(true),
|
||||
// POI
|
||||
POI_TYPE(false), POI(true),
|
||||
// LOCATION
|
||||
LOCATION(true), PARTIAL_LOCATION(false),
|
||||
// UI OBJECTS
|
||||
FAVORITE(true), WPT(true), RECENT_OBJ(true),
|
||||
REGION(true),
|
||||
SEARCH_API_FINISHED(false), UNKNOWN_NAME_FILTER(false);
|
||||
private boolean hasLocation;
|
||||
private ObjectType(boolean location) {
|
||||
this.hasLocation = location;
|
||||
|
|
Loading…
Reference in a new issue