OsmAnd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
net.osmand.plus.AmenityIndexRepositoryBinary Class Reference
Inheritance diagram for net.osmand.plus.AmenityIndexRepositoryBinary:
net.osmand.plus.AmenityIndexRepository

List of all members.

Public Member Functions

 AmenityIndexRepositoryBinary (BinaryMapIndexReader index)
void close ()
boolean checkContains (double latitude, double longitude)
boolean checkContains (double topLatitude, double leftLongitude, double bottomLatitude, double rightLongitude)
Map< AmenityType, List< String > > searchAmenityCategoriesByName (String query, Map< AmenityType, List< String >> map)
List< Amenity > searchAmenitiesByName (int x, int y, String query, ResultMatcher< Amenity > resulMatcher)
List< Amenity > searchAmenities (int stop, int sleft, int sbottom, int sright, int zoom, final PoiFilter filter, final List< Amenity > amenities, ResultMatcher< Amenity > matcher)
synchronized boolean checkCachedAmenities (double topLatitude, double leftLongitude, double bottomLatitude, double rightLongitude, int zoom, String filterId, List< Amenity > toFill, boolean fillFound)
void clearCache ()
void evaluateCachedAmenities (double topLatitude, double leftLongitude, double bottomLatitude, double rightLongitude, int zoom, PoiFilter filter, ResultMatcher< Amenity > matcher)

Protected Attributes

List< Amenity > cachedObjects = new ArrayList<Amenity>()
double cTopLatitude
double cBottomLatitude
double cLeftLongitude
double cRightLongitude
int cZoom

Constructor & Destructor Documentation


Member Function Documentation

synchronized boolean net.osmand.plus.AmenityIndexRepositoryBinary.checkCachedAmenities ( double  topLatitude,
double  leftLongitude,
double  bottomLatitude,
double  rightLongitude,
int  zoom,
String  filterId,
List< Amenity >  toFill,
boolean  fillFound 
)
boolean net.osmand.plus.AmenityIndexRepositoryBinary.checkContains ( double  latitude,
double  longitude 
)
boolean net.osmand.plus.AmenityIndexRepositoryBinary.checkContains ( double  topLatitude,
double  leftLongitude,
double  bottomLatitude,
double  rightLongitude 
)
void net.osmand.plus.AmenityIndexRepositoryBinary.evaluateCachedAmenities ( double  topLatitude,
double  leftLongitude,
double  bottomLatitude,
double  rightLongitude,
int  zoom,
PoiFilter  filter,
ResultMatcher< Amenity >  matcher 
)
List<Amenity> net.osmand.plus.AmenityIndexRepositoryBinary.searchAmenities ( int  stop,
int  sleft,
int  sbottom,
int  sright,
int  zoom,
final PoiFilter  filter,
final List< Amenity >  amenities,
ResultMatcher< Amenity >  matcher 
)
List<Amenity> net.osmand.plus.AmenityIndexRepositoryBinary.searchAmenitiesByName ( int  x,
int  y,
String  query,
ResultMatcher< Amenity >  resulMatcher 
)
Map<AmenityType, List<String> > net.osmand.plus.AmenityIndexRepositoryBinary.searchAmenityCategoriesByName ( String  query,
Map< AmenityType, List< String >>  map 
)

Member Data Documentation

List<Amenity> net.osmand.plus.AmenityIndexRepositoryBinary.cachedObjects = new ArrayList<Amenity>() [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines