Update search location

This commit is contained in:
Victor Shcherb 2016-07-15 09:49:11 +02:00
parent 1ae660dd59
commit 61e2d908ec

View file

@ -1,10 +1,16 @@
package net.osmand.search.core; package net.osmand.search.core;
public enum ObjectType { public enum ObjectType {
CITY(true), VILLAGE(true), POSTCODE(true), STREET(true), HOUSE(true), // ADDRESS
STREET_INTERSECTION(true), POI_TYPE(false), POI(true), LOCATION(true), PARTIAL_LOCATION(false), FAVORITE(true), CITY(true), VILLAGE(true), POSTCODE(true), STREET(true), HOUSE(true),STREET_INTERSECTION(true),
SEARCH_API_FINISHED(false), // POI
REGION(true), RECENT_OBJ(true), WPT(true), UNKNOWN_NAME_FILTER(false); 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 boolean hasLocation;
private ObjectType(boolean location) { private ObjectType(boolean location) {
this.hasLocation = location; this.hasLocation = location;